Skip to content

Commit

Permalink
Bumped ansible.posix collection to 1.5.1
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Arrotin <[email protected]>
  • Loading branch information
arrfab committed Feb 13, 2023
1 parent 2128b97 commit c616521
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 14 deletions.
17 changes: 12 additions & 5 deletions adhoc-provision-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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


2 changes: 1 addition & 1 deletion collections-ci.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion collections-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion collections-production.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion collections-staging.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion collections-stream.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c616521

Please sign in to comment.