diff options
Diffstat (limited to 'tools/setup_nodes.yml')
| -rw-r--r-- | tools/setup_nodes.yml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/setup_nodes.yml b/tools/setup_nodes.yml deleted file mode 100644 index b61f126df..000000000 --- a/tools/setup_nodes.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- hosts: all - sudo: yes - tasks: - - name: Setup /etc/hosts - copy: - src: /etc/hosts - dest: /etc/hosts - - - name: Ensure /etc/hostname is valid for SELinux - command: restorecon -v /etc/hostname - when: ansible_os_family == 'RedHat' - - - name: Assign hostname - hostname: - name: "{{ inventory_hostname }}" - - - name: Copy setup script - copy: - src: setup_{{ ansible_os_family }}.sh - dest: /tmp/setup.sh - mode: 0755 - -- hosts: all - tasks: - - name: Create log directory for node - file: - state: directory - path: /tmp/{{ inventory_hostname }} - - - name: Run node setup - shell: sudo /tmp/setup.sh - - - name: Changing permissions of docker socket to 666 - shell: sudo chmod 0666 /run/docker.sock |
