aboutsummaryrefslogblamecommitdiffstats
path: root/play-replicate-local.yml
blob: eea485426cc42d9dc1e1d4568602d5d38fcf8851 (plain) (tree)



















                                                                                                   
# =========================================================================== #
#               __                                 ___            __          __                 __
#        ____  / /___ ___  __     ________  ____  / (_)________ _/ /____     / /___  _________ _/ /
#       / __ \/ / __ `/ / / /    / ___/ _ \/ __ \/ / / ___/ __ `/ __/ _ \   / / __ \/ ___/ __ `/ / 
#      / /_/ / / /_/ / /_/ /    / /  /  __/ /_/ / / / /__/ /_/ / /_/  __/  / / /_/ / /__/ /_/ / /  
#     / .___/_/\__,_/\__, (_)  /_/   \___/ .___/_/_/\___/\__,_/\__/\___/  /_/\____/\___/\__,_/_/   
#    /_/            /____/              /_/
#
# =========================================================================== #

---
- hosts: local
  connection: local
  vars: 
    servers_list: "{{ groups['servers'] }}"
  tasks:
    - name: Replicate ip values to shell script
      template:
        src: "{{ playbook_dir }}/scripts/vars/infrastructure-host-ip.j2"
        dest: "{{ playbook_dir }}/scripts/vars/infrastructure-host-ip.sh"
remember that computers suck.