You've already forked ansible-role-common
Updated defaults prefix with common_
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
# defaults file for guisea.common
|
# defaults file for guisea.common
|
||||||
domain: exampledomain.com
|
common_domain: exampledomain.com
|
||||||
ad_domain_joined: no
|
ad_domain_joined: no
|
||||||
win_timezone: New Zealand Standard Time
|
common_win_timezone: New Zealand Standard Time
|
||||||
vendors_hosts: []
|
vendors_hosts: []
|
||||||
|
|
||||||
dns_servers:
|
common_dns_servers:
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
|
|
||||||
@@ -13,11 +13,10 @@ ADMIN_GROUP: admins
|
|||||||
|
|
||||||
|
|
||||||
common_grub_timeout: 5
|
common_grub_timeout: 5
|
||||||
postfix_configure: false
|
common_postfix_configure: false
|
||||||
|
common_postfix_relayhost: some.smtp.server
|
||||||
|
|
||||||
common_packages:
|
common_packages:
|
||||||
- libselinux-python
|
|
||||||
- MySQL-python
|
|
||||||
- nano
|
- nano
|
||||||
- git
|
- git
|
||||||
- htop
|
- htop
|
||||||
@@ -27,12 +26,14 @@ common_packages:
|
|||||||
- yum-utils
|
- yum-utils
|
||||||
- unzip
|
- unzip
|
||||||
|
|
||||||
win_packages:
|
common_win_packages:
|
||||||
- notepadplusplus.install
|
- notepadplusplus.install
|
||||||
- firefoxesr
|
- firefoxesr
|
||||||
- baretail
|
- baretail
|
||||||
- 7zip.install
|
- 7zip.install
|
||||||
|
|
||||||
apply_win_updates: false
|
common_apply_win_updates: false
|
||||||
|
|
||||||
common_show_ipv6: false|bool
|
common_show_ipv6: false
|
||||||
|
common_root_pwd: $6$5GG7U/EyDL$L/UkIlhoVABnvjtJl0zGwryjgRF9wNZ5wIAIAVfViROiMUK0tUsuZmO.x87tpDYUJA0QR5pCo4yd.2sLgSlHU0
|
||||||
|
common_root_email: anemail@someco.com
|
||||||
153
meta/main.yml
153
meta/main.yml
@@ -1,131 +1,28 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: your name
|
author: Aaron Guise
|
||||||
|
namespace: cybercinch
|
||||||
|
role_name: ansible_role_common
|
||||||
description:
|
description:
|
||||||
company: your company (optional)
|
license: MIT
|
||||||
# If the issue tracker for your role is not on github, uncomment the
|
min_ansible_version: 2.9
|
||||||
# next line and provide a value
|
|
||||||
# issue_tracker_url: http://example.com/issue/tracker
|
platforms:
|
||||||
# Some suggested licenses:
|
- name: EL
|
||||||
# - BSD (default)
|
versions:
|
||||||
# - MIT
|
- all
|
||||||
# - GPLv2
|
- name: Windows
|
||||||
# - GPLv3
|
versions:
|
||||||
# - Apache
|
- all
|
||||||
# - CC-BY
|
- name: Amazon
|
||||||
license: license (GPLv2, CC-BY, etc)
|
versions:
|
||||||
min_ansible_version: 1.2
|
- all
|
||||||
#
|
- name: Ubuntu
|
||||||
# Below are all platforms currently available. Just uncomment
|
versions:
|
||||||
# the ones that apply to your role. If you don't see your
|
- all
|
||||||
# platform on this list, let us know and we'll get it added!
|
- name: Debian
|
||||||
#
|
versions:
|
||||||
#platforms:
|
- all
|
||||||
#- name: EL
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 5
|
|
||||||
# - 6
|
|
||||||
# - 7
|
|
||||||
#- name: GenericUNIX
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - any
|
|
||||||
#- name: Solaris
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 10
|
|
||||||
# - 11.0
|
|
||||||
# - 11.1
|
|
||||||
# - 11.2
|
|
||||||
# - 11.3
|
|
||||||
#- name: Fedora
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 16
|
|
||||||
# - 17
|
|
||||||
# - 18
|
|
||||||
# - 19
|
|
||||||
# - 20
|
|
||||||
# - 21
|
|
||||||
# - 22
|
|
||||||
# - 23
|
|
||||||
#- name: Windows
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 2012R2
|
|
||||||
#- name: SmartOS
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - any
|
|
||||||
#- name: opensuse
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 12.1
|
|
||||||
# - 12.2
|
|
||||||
# - 12.3
|
|
||||||
# - 13.1
|
|
||||||
# - 13.2
|
|
||||||
#- name: Amazon
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 2013.03
|
|
||||||
# - 2013.09
|
|
||||||
#- name: GenericBSD
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - any
|
|
||||||
#- name: FreeBSD
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 10.0
|
|
||||||
# - 10.1
|
|
||||||
# - 10.2
|
|
||||||
# - 8.0
|
|
||||||
# - 8.1
|
|
||||||
# - 8.2
|
|
||||||
# - 8.3
|
|
||||||
# - 8.4
|
|
||||||
# - 9.0
|
|
||||||
# - 9.1
|
|
||||||
# - 9.1
|
|
||||||
# - 9.2
|
|
||||||
# - 9.3
|
|
||||||
#- name: Ubuntu
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - lucid
|
|
||||||
# - maverick
|
|
||||||
# - natty
|
|
||||||
# - oneiric
|
|
||||||
# - precise
|
|
||||||
# - quantal
|
|
||||||
# - raring
|
|
||||||
# - saucy
|
|
||||||
# - trusty
|
|
||||||
# - utopic
|
|
||||||
# - vivid
|
|
||||||
#- name: SLES
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - 10SP3
|
|
||||||
# - 10SP4
|
|
||||||
# - 11
|
|
||||||
# - 11SP1
|
|
||||||
# - 11SP2
|
|
||||||
# - 11SP3
|
|
||||||
#- name: GenericLinux
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - any
|
|
||||||
#- name: Debian
|
|
||||||
# versions:
|
|
||||||
# - all
|
|
||||||
# - etch
|
|
||||||
# - jessie
|
|
||||||
# - lenny
|
|
||||||
# - squeeze
|
|
||||||
# - wheezy
|
|
||||||
#
|
#
|
||||||
# Below are all categories currently available. Just as with
|
# Below are all categories currently available. Just as with
|
||||||
# the platforms above, uncomment those that apply to your role.
|
# the platforms above, uncomment those that apply to your role.
|
||||||
@@ -145,8 +42,4 @@ galaxy_info:
|
|||||||
#- packaging
|
#- packaging
|
||||||
#- system
|
#- system
|
||||||
#- web
|
#- web
|
||||||
dependencies: []
|
dependencies: []
|
||||||
# List your role dependencies here, one per line.
|
|
||||||
# Be sure to remove the '[]' above if you add dependencies
|
|
||||||
# to this list.
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
127.0.0.1 localhost {{ ansible_hostname }}
|
127.0.0.1 localhost {{ ansible_hostname }}
|
||||||
::1 localhost {{ ansible_hostname }}
|
::1 localhost {{ ansible_hostname }}
|
||||||
|
|
||||||
{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.{{ domain }} {{ ansible_hostname }}
|
{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.{{ common_domain }} {{ ansible_hostname }}
|
||||||
|
|
||||||
{# note: below block takes a list of ip -> name mappings
|
{# note: below block takes a list of ip -> name mappings
|
||||||
applying them to the hosts file should the variable be
|
applying them to the hosts file should the variable be
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
## DO NOT edit manually as changes will be overwritten ##
|
## DO NOT edit manually as changes will be overwritten ##
|
||||||
|
|
||||||
# Search Domain
|
# Search Domain
|
||||||
search {{ domain }}
|
search {{ common_domain }}
|
||||||
|
|
||||||
# Use servers configured via Ansible
|
# Use servers configured via Ansible
|
||||||
{% for server in dns_servers %}
|
{% for server in common_dns_servers %}
|
||||||
nameserver {{ server }}
|
nameserver {{ server }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
## DO NOT edit manually as changes will be overwritten ##
|
## DO NOT edit manually as changes will be overwritten ##
|
||||||
|
|
||||||
NETWORKING=yes
|
NETWORKING=yes
|
||||||
HOSTNAME={{ inventory_hostname }}.{{ domain }}
|
HOSTNAME={{ inventory_hostname }}.{{ common_domain }}
|
||||||
|
|||||||
Reference in New Issue
Block a user