Add playbooks/software.yml

This commit is contained in:
2026-07-05 09:21:16 +00:00
parent 6f2a6d9d65
commit 2f0ec2a6e1

21
playbooks/software.yml Normal file
View File

@@ -0,0 +1,21 @@
- name: install required software
hosts: apache-intranet
become: yes
tasks:
- name: install software
apt:
name:
- curl
- bc
state: present
update_cache: yes
###check_ssl_cert depends on the above
- name: install check_ssl_cert
ansible.builtin.get_url:
url: https://raw.githubusercontent.com/matteocorti/check_ssl_cert/master/check_ssl_cert
dest: /usr/local/bin/check_ssl_cert
mode: '0755'
owner: root
group: root