summaryrefslogtreecommitdiffstats
path: root/roles/pad/tasks
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-16 18:30:31 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-16 18:30:58 -0400
commit656e440054f43fc09050ba13e29d4eaaf355fcf5 (patch)
treee88274f567b89c0f1438521063c0f5550a67ac79 /roles/pad/tasks
parent12c465a8f6e127a599b0477094552fc90c7e2ce0 (diff)
downloademacsconf-ansible-656e440054f43fc09050ba13e29d4eaaf355fcf5.tar.xz
emacsconf-ansible-656e440054f43fc09050ba13e29d4eaaf355fcf5.zip
Add ansible_managed token to templates
Diffstat (limited to 'roles/pad/tasks')
-rw-r--r--roles/pad/tasks/loadtest.yml11
-rw-r--r--roles/pad/tasks/main.yml3
2 files changed, 0 insertions, 14 deletions
diff --git a/roles/pad/tasks/loadtest.yml b/roles/pad/tasks/loadtest.yml
deleted file mode 100644
index 28deefc..0000000
--- a/roles/pad/tasks/loadtest.yml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- name: Install loadtest configuration
- become: true
- template:
- src: loadtest.settings.json
- dest: "{{ etherpad_path }}/settings.json"
-- name: Restart Etherpad
- become: true
- service:
- name: etherpad
- state: restarted
diff --git a/roles/pad/tasks/main.yml b/roles/pad/tasks/main.yml
index 01b2da7..7d71f59 100644
--- a/roles/pad/tasks/main.yml
+++ b/roles/pad/tasks/main.yml
@@ -115,6 +115,3 @@
uri:
url: "http://localhost:9001/api/1/createPad?apikey={{ etherpad_api_key }}&padID={{etherpad_year}}-{{ item.slug }}"
loop: "{{ talks | json_query('talks[*]') }}"
-- include: loadtest.yml
- become: true
- when: load_test is defined