Reduce output from ansible playbooks. Some minor changes.
This commit is contained in:
11
roles/common/tasks/first-run.yml
Normal file
11
roles/common/tasks/first-run.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
- hosts: o25.oopen.de
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Ensure aptitude is present
|
||||
raw: test -e /usr/bin/aptitude || apt-get install aptitude -y
|
||||
|
||||
- name: Ensure python2 is present (This is necessary for ansible to work properly)
|
||||
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
|
Reference in New Issue
Block a user