Install "apg" package where needed
This commit is contained in:
parent
49f5f6f08a
commit
d91b317a50
3 changed files with 17 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: ensure packages are installed
|
||||
- name: LDAP packages are installed
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
state: present
|
||||
|
@ -6,3 +6,8 @@
|
|||
- slapd
|
||||
- ldap-utils
|
||||
- ldapvi
|
||||
|
||||
- name: apg package is installed
|
||||
apt:
|
||||
name: apg
|
||||
state: present
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
mysql_packages: "{{ mysql_packages_mariadb }}"
|
||||
when: mysql_variant == "mariadb"
|
||||
|
||||
- name: Install packages
|
||||
- name: Install MySQL packages
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
update_cache: yes
|
||||
|
@ -24,3 +24,8 @@
|
|||
service:
|
||||
name: mysql
|
||||
state: started
|
||||
|
||||
- name: apg package is installed
|
||||
apt:
|
||||
name: apg
|
||||
state: present
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
- name: apg package is installed
|
||||
apt:
|
||||
name: apg
|
||||
state: present
|
||||
|
||||
- name: Generate random password for nrpe user
|
||||
command: apg -n1 -m 12 -M SCNL
|
||||
register: postgresql_nrpe_password
|
||||
|
|
Loading…
Reference in a new issue