This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Roles to add/update: | |
- Add firewalld rules for docker0 trusted zone and masquerade | |
Role consolidation | |
- Copy centosLxdDocker roles to dockerInstall roles | |
- Copy vault info | |
- create .gitignore and add neceesary files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
inventory = inventory.yaml | |
roles_path = ../roles | |
interpreter_python = /usr/bin/python3 | |
host_key_checking = False | |
[ssh_connection] | |
pipelining = True | |
scp_if_ssh = smart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - | |
### Inventory file in YAML format | |
all: | |
children: | |
dev: | |
hosts: | |
dev01: | |
ansible_host: aix-dev01 | |
dev02: | |
ansible_host: aix-dev02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - | |
# dev_lpar_setup.yml | |
- name: Set up user groups and directories for AIX Dev LPARs | |
hosts: | |
- dev | |
gather_facts: false | |
collections: | |
- ibm.power_aix | |
roles: | |
- aix_groups |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - - | |
# defaults file for roles/aix_groups | |
dft_group: "appgrp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - - | |
# defaults file for ../roles/aix_users | |
dft_pwd: "PassW@rd" | |
user_group: "appgrp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - - | |
# defaults file for ../roles/aix_directories | |
group: "appgrp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- - _ | |
# tasks file for ../roles/files | |
- name: Copy files from the files folder to /tmp on the LPAR | |
copy: | |
src: "{{ item }}" | |
dest: "/tmp" | |
with_items: "{{ tmp_files }}" | |
tags: | |
- copy_files | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-rw-rw-r - . 1 robinsg robinsg 188 Oct 17 11:16 iocp.add | |
-r-xr-xr-x. 1 robinsg robinsg 2781 Oct 16 17:00 profile | |
-r - r - - -. 1 robinsg robinsg 3197 Oct 17 11:14 sudoers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks: | |
- name: Fail if a host is not defined and the ansible-playbook command | |
fails: | |
mag: | |
- 'No host specified. On the ansible-playbook command use "--extra-vars host=hostname"' | |
when: host is not defined | |
- block: | |
- name: Get a list of volume mappings for the host | |
ibm_svcinfo_command: |
OlderNewer