-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix debian and default ubuntu scenario
- Loading branch information
Ēriks Zviedrāns
authored and
Ēriks Zviedrāns
committed
Apr 25, 2019
1 parent
365f685
commit 33f5e4c
Showing
4 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM {{ item.image }} | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
python-setuptools python-pip systemd systemd-sysv && apt-get clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
gather_facts: false | ||
pre_tasks: | ||
- name: Install python2 for Ansible | ||
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-setuptools) | ||
register: output | ||
changed_when: output.stdout | length > 0 | ||
- name: Gathering Facts | ||
setup: | ||
roles: | ||
- role: xymon-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters