diff options
| author | boom2 <blizzack@blizzack.com> | 2023-11-29 16:28:07 -0500 |
|---|---|---|
| committer | boom2 <blizzack@blizzack.com> | 2023-11-29 16:28:07 -0500 |
| commit | 2fd6a845dfe9ed6b3189c247928dc87d8f76d01a (patch) | |
| tree | f5752731c61d1dbee2c36c8a2e77240f7d420a5d /ansible-practice | |
| parent | b794adb98e2f159aa09543882b3ab7699e8bc8af (diff) | |
update playbook to update a host...FOR REAL
Diffstat (limited to 'ansible-practice')
| -rw-r--r-- | ansible-practice/system/02-playbook-copy-bash-configs.yml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/ansible-practice/system/02-playbook-copy-bash-configs.yml b/ansible-practice/system/02-playbook-copy-bash-configs.yml index a1a54a7..adc1e4e 100644 --- a/ansible-practice/system/02-playbook-copy-bash-configs.yml +++ b/ansible-practice/system/02-playbook-copy-bash-configs.yml @@ -5,27 +5,30 @@ --- - name: "02 - custom ansible - copy bash config files w/ content" -# hosts: all - hosts: localhost - connection: local + hosts: all +# hosts: localhost +# connection: local tasks: - name: copy '.bash_aliases' ansible.builtin.copy: src: ~/repos/ansible_repo/ansible-practice/system/.bash_aliases - dest: "~/tmp/temp_files/.bash_aliases" + dest: "~/.bash_aliases" +# dest: "~/tmp/temp_files/.bash_aliases" mode: '0644' tags: ['bash_aliases'] - name: Creating '.bashrc' file with content - copy: + ansible.builtin.copy: src: ~/repos/ansible_repo/ansible-practice/system/.bashrc - dest: "~/tmp/temp_files/.bashrc" + dest: "~/.bashrc" +# dest: "~/tmp/temp_files/.bashrc" mode: '0644' tags: ['bashrc'] - name: Creating '.bash_profile' file with content - copy: + ansible.builtin.copy: src: ~/repos/ansible_repo/ansible-practice/system/.bash_profile - dest: "~/tmp/temp_files/.bash_profile" + dest: "~/.bash_profile" +# dest: "~/tmp/temp_files/.bash_profile" mode: '0644' tags: ['bash_profile'] |
