Install GnuPG packages, allow to skip everything except basics
This commit is contained in:
parent
074e188179
commit
d914e1621e
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
common__only_basics: false
|
||||
|
||||
common__certbot__run: true
|
||||
common__certbot__email: 'user@example.com'
|
||||
common__certbot__cert_name: 'example.com'
|
||||
|
|
|
@ -14,6 +14,8 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||
'certbot',
|
||||
'colordiff',
|
||||
'curl',
|
||||
'gnupg',
|
||||
'gnupg2',
|
||||
'iptables-persistent',
|
||||
'less',
|
||||
'vim',
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- name: Install basic packages
|
||||
apt:
|
||||
name:
|
||||
- curl
|
||||
- gnupg
|
||||
- gnupg2
|
||||
- wget
|
|
@ -1,6 +1,17 @@
|
|||
---
|
||||
- include_tasks: basics.yml
|
||||
|
||||
- include_tasks: usability.yml
|
||||
when: not common__only_basics|bool
|
||||
|
||||
- include_tasks: ssh.yml
|
||||
when: not common__only_basics|bool
|
||||
|
||||
- include_tasks: iptables.yml
|
||||
when: not common__only_basics|bool
|
||||
|
||||
- include_tasks: certbot.yml
|
||||
when: not common__only_basics|bool
|
||||
|
||||
- include_tasks: nginx.yml
|
||||
when: not common__only_basics|bool
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
---
|
||||
- name: Install useful packages
|
||||
apt:
|
||||
name: ['bash-completion', 'colordiff', 'curl', 'less', 'vim', 'wget']
|
||||
name:
|
||||
- bash-completion
|
||||
- colordiff
|
||||
- less
|
||||
- vim
|
||||
|
||||
- name: Install Vim config
|
||||
copy:
|
||||
|
|
Loading…
Reference in New Issue