Add playbooks/software.yml
This commit is contained in:
21
playbooks/software.yml
Normal file
21
playbooks/software.yml
Normal 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
|
||||||
Reference in New Issue
Block a user