Compare commits
No commits in common. "main" and "1.0.32" have entirely different histories.
@ -4,5 +4,3 @@ skip_list:
|
|||||||
- yaml[line-length]
|
- yaml[line-length]
|
||||||
- no-changed-when
|
- no-changed-when
|
||||||
- galaxy[no-changelog]
|
- galaxy[no-changelog]
|
||||||
- no-free-form
|
|
||||||
- package-latest
|
|
||||||
|
@ -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.32
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Host : {{ inventory_hostname }}
|
Host : {{ inventory_hostname }}
|
||||||
IP : {{ motd_host_ip }}
|
IP : {{ motd_host_ip }}
|
||||||
CPU : {{ ansible_processor_vcpus }} x {{ ansible_processor[2] | regex_replace('\\s+', ' ') }}
|
CPU : {{ ansible_processor_vcpus }} x {{ ansible_processor[2] }}
|
||||||
Memory : {{ "{0:0.2f}".format(ansible_memfree_mb/1024) }} GB free of {{ (ansible_memtotal_mb/1024)|round}} GB
|
Memory : {{ "{0:0.2f}".format(ansible_memfree_mb/1024) }} GB free of {{ (ansible_memtotal_mb/1024)|round}} GB
|
||||||
Platform : {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_kernel }}
|
Platform : {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_kernel }}
|
||||||
Up : {{ uptime_formatted | trim }}
|
Up : {{ uptime_formatted | trim }}
|
||||||
|
@ -1,21 +1,29 @@
|
|||||||
---
|
---
|
||||||
- name: Update package cache for Debian hosts
|
- name: Update package cache for Debian hosts
|
||||||
ansible.builtin.apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when:
|
when:
|
||||||
- "'apt' in ansible_pkg_mgr"
|
- ansible_distribution|lower == 'debian'
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
|
||||||
- name: Update package cache for RHEL/CentOS/Fedora hosts
|
- name: Update package cache for RHEL/CentOS/Fedora hosts
|
||||||
ansible.builtin.dnf:
|
dnf:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when:
|
when:
|
||||||
- "'dnf' in ansible_pkg_mgr"
|
- (ansible_distribution|lower == 'centos' or
|
||||||
|
ansible_distribution|lower == 'fedora' or
|
||||||
|
ansible_distribution|lower == 'redhat')
|
||||||
- ansible_distribution_major_version|int >= 8
|
- ansible_distribution_major_version|int >= 8
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
|
||||||
- name: Update all host packages
|
- name: Update all host packages
|
||||||
ansible.builtin.package: name=* state=latest
|
package: name=* state=latest
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user