summaryrefslogtreecommitdiff
path: root/roles/acmetool/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-10-05 17:55:53 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-10-05 17:55:53 +0200
commit42f023c73a2e30f17abff585b787b41f48d91042 (patch)
tree9ff2e64653571fc295df6bb4a472d32fa75c5d08 /roles/acmetool/tasks/main.yml
parentimproved preseed fetch script (diff)
refactor acmetool role
Diffstat (limited to 'roles/acmetool/tasks/main.yml')
-rw-r--r--roles/acmetool/tasks/main.yml25
1 files changed, 0 insertions, 25 deletions
diff --git a/roles/acmetool/tasks/main.yml b/roles/acmetool/tasks/main.yml
deleted file mode 100644
index c2fc2c6c..00000000
--- a/roles/acmetool/tasks/main.yml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-- name: check if acmetool package is new enough
- debug:
- msg: "Check distribution_release"
- failed_when: (ansible_distribution == 'Debian' and ansible_distribution_major_version < 9) or (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version < 17) or (ansible_distribution != 'Debian' and ansible_distribution != 'Ubuntu')
-
-- name: install acmetool
- apt:
- name: acmetool
- state: present
-
-- name: create initial directory structure
- command: acmetool --batch
- args:
- creates: /var/lib/acme/conf
-
-- name: create acmetool response file
- template:
- src: responses.j2
- dest: /var/lib/acme/conf/responses
-
-- name: run quickstart to create account and default target configuration
- command: acmetool --batch quickstart
- args:
- creates: /var/lib/acme/conf/target