Logic updates, CI fixes, formatting
Some checks failed
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Successful in 14s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian) (push) Failing after 12s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-fedora) (push) Failing after 12s
Some checks failed
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Successful in 14s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian) (push) Failing after 12s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-fedora) (push) Failing after 12s
This commit is contained in:
@ -9,7 +9,7 @@ jobs:
|
|||||||
Ansible-Development-Pipeline:
|
Ansible-Development-Pipeline:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ansible-dev-centos9, ansible-dev-fedora39, ansible-dev-debian11, ansible-dev-debian12 ]
|
os: [ ansible-dev-centos, ansible-dev-fedora, ansible-dev-debian ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -8,7 +8,7 @@ namespace: jchristianh
|
|||||||
name: baseos
|
name: baseos
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: 1.0.34
|
version: 1.0.35
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
etc_hosts_etc_hosts_file: "{{ etc_hosts_etc_hosts_file }}.docker"
|
etc_hosts_etc_hosts_file: "{{ etc_hosts_etc_hosts_file }}.docker"
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type | regex_search("docker|podman|container")
|
- ansible_virtualization_type is search("docker|podman|container")
|
||||||
|
|
||||||
|
|
||||||
- name: Deploy {{ etc_hosts_etc_hosts_file }}
|
- name: Deploy {{ etc_hosts_etc_hosts_file }}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
- name: Use hostname module to set hostname, or failback to command module
|
- name: Use hostname module to set hostname, or failback to command module
|
||||||
when:
|
when:
|
||||||
- not ansible_virtualization_type | regex_search("docker|podman|container")
|
- not ansible_virtualization_type is search("docker|podman|container")
|
||||||
block:
|
block:
|
||||||
- name: Set hostname for host using hostname module
|
- name: Set hostname for host using hostname module
|
||||||
ansible.builtin.hostname:
|
ansible.builtin.hostname:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Update node status when not running in a container
|
- name: Update node status when not running in a container
|
||||||
when: not ansible_virtualization_type | regex_search("docker|podman|container")
|
when: not ansible_virtualization_type is search("docker|podman|container")
|
||||||
block:
|
block:
|
||||||
- name: Create directory {{ node_status_dir }}
|
- name: Create directory {{ node_status_dir }}
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
resolv_conf_resolv_conf_file: "{{ resolv_conf_resolv_conf_file }}.container"
|
resolv_conf_resolv_conf_file: "{{ resolv_conf_resolv_conf_file }}.container"
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type | regex_search("docker|podman|container")
|
- ansible_virtualization_type is search("docker|podman|container")
|
||||||
|
|
||||||
|
|
||||||
- name: Deploy {{ resolv_conf_resolv_conf_file }}
|
- name: Deploy {{ resolv_conf_resolv_conf_file }}
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
name : snmpd
|
name : snmpd
|
||||||
state: restarted
|
state: restarted
|
||||||
when:
|
when:
|
||||||
- not ansible_virtualization_type | regex_search("docker|podman|container")
|
- not ansible_virtualization_type is search("docker|podman|container")
|
||||||
|
Reference in New Issue
Block a user