renamed roles
This commit is contained in:
parent
fad12ff06d
commit
c094921e17
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +1,12 @@
|
|||||||
|
# Ansible Files
|
||||||
*.retry
|
*.retry
|
||||||
|
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
|
||||||
|
# OSX files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
|
||||||
|
# Ansible Inventory
|
||||||
hosts
|
hosts
|
||||||
win_hosts
|
win_hosts
|
||||||
|
@ -25,11 +25,13 @@ powershell.exe -ExecutionPolicy ByPass -File $file
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
I have a basic configuration file in place at the root of this folder for anisble to find.
|
I have a basic configuration file in place at the root of this folder for anisble to find. If you work out of this directory the configuration file will take effect that is loaded.
|
||||||
|
|
||||||
## Inventory
|
## Inventory
|
||||||
|
|
||||||
I have a template file in place that should only be used as a refrence. Make a copy of that file and name it hosts then update that file.
|
I have a template file in place that should only be used as a reference. Make a copy of that file and name it hosts then update that file.
|
||||||
|
|
||||||
|
The configuration file that is active is looking for a directory that contains all of the inventory files. This way all files can be parted out rather then one big file.
|
||||||
|
|
||||||
### Testing Linux devices
|
### Testing Linux devices
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
# some basic default values...
|
# some basic default values...
|
||||||
|
|
||||||
inventory = ~/hosts
|
inventory = ~/hosts/
|
||||||
library = /usr/share/my_modules/
|
library = /usr/share/my_modules/
|
||||||
module_utils = /usr/share/my_module_utils/
|
module_utils = /usr/share/my_module_utils/
|
||||||
remote_tmp = ~/.ansible/tmp
|
remote_tmp = ~/.ansible/tmp
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
hosts: linux
|
hosts: linux
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
# https://galaxy.ansible.com/jnv/unattended-upgrades
|
||||||
- name: unattended-upgrades
|
- name: unattended-upgrades
|
||||||
become: true
|
become: true
|
||||||
include_role:
|
include_role:
|
||||||
|
Loading…
Reference in New Issue
Block a user