diff --git a/adhoc-provision-node.yml b/adhoc-provision-node.yml index 872b52c..f7b8620 100644 --- a/adhoc-provision-node.yml +++ b/adhoc-provision-node.yml @@ -17,7 +17,7 @@ # lv_home_size: 2048 # in GB # pxe_bootdev: eth0 # device used as bootdev and first interface configured # bridge_nic: False # If set to True, pxe_bootdev will become the bridgeslave device for br0 bridge -# +# rhel_verion: 9 # If defined, it will be installed with RHEL instead of centos # Call this adhoc playbook with --limit to deploy host[s]/group # - hosts: "{{ init_hosts }}" @@ -113,9 +113,16 @@ timeout: 1200 delegate_to: "{{ deploy_host }}" - - name: Updating/Adding IP in local CI dns resolver if needed - shell: "/usr/local/bin/update_dns -n {{ inventory_hostname }} -i {{ ip }}" + - name: Removing template to avoid it being reinstalled by accident + file: + path: "{{ item }}" + state: absent + with_items: + - "/var/www/html/ks/{{ inventory_hostname }}-ks.cfg" + - "/var/lib/tftpboot/pxelinux.cfg/01-{{ macaddress | lower | replace(\":\",\"-\") }}" + - "/var/lib/tftpboot/grub.cfg-01-{{ macaddress | lower | replace(\":\",\"-\") }}" delegate_to: "{{ deploy_host }}" - when: centos_ci_node is defined and centos_ci_node tags: - - dns + - cleanup + + diff --git a/collections-ci.in b/collections-ci.in index 0c6f975..c2ed30e 100644 --- a/collections-ci.in +++ b/collections-ci.in @@ -2,7 +2,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/collections-dev.in b/collections-dev.in index 0c6f975..c2ed30e 100644 --- a/collections-dev.in +++ b/collections-dev.in @@ -2,7 +2,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/collections-production.in b/collections-production.in index 0c6f975..c2ed30e 100644 --- a/collections-production.in +++ b/collections-production.in @@ -2,7 +2,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/collections-staging.in b/collections-staging.in index 0c6f975..c2ed30e 100644 --- a/collections-staging.in +++ b/collections-staging.in @@ -2,7 +2,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/collections-stream.in b/collections-stream.in index 0c6f975..c2ed30e 100644 --- a/collections-stream.in +++ b/collections-stream.in @@ -2,7 +2,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/requirements-ci.yml b/requirements-ci.yml index c598d61..1d097ab 100644 --- a/requirements-ci.yml +++ b/requirements-ci.yml @@ -258,7 +258,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/requirements-dev.yml b/requirements-dev.yml index 4f4af95..a50e48c 100644 --- a/requirements-dev.yml +++ b/requirements-dev.yml @@ -258,7 +258,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/requirements-production.yml b/requirements-production.yml index c598d61..1d097ab 100644 --- a/requirements-production.yml +++ b/requirements-production.yml @@ -258,7 +258,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git diff --git a/requirements-staging.yml b/requirements-staging.yml index 4f4af95..a50e48c 100644 --- a/requirements-staging.yml +++ b/requirements-staging.yml @@ -258,7 +258,7 @@ collections: - name: ansible.posix type: git source: https://github.com/ansible-collections/ansible.posix.git - version: 1.3.0 + version: 1.5.1 - name: ansible.netcommon type: git source: https://github.com/ansible-collections/ansible.netcommon.git