diff options
Diffstat (limited to 'baserock_webserver/instance-hastebin-config.yml')
-rw-r--r-- | baserock_webserver/instance-hastebin-config.yml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/baserock_webserver/instance-hastebin-config.yml b/baserock_webserver/instance-hastebin-config.yml index aacffe0a..2adc8ca6 100644 --- a/baserock_webserver/instance-hastebin-config.yml +++ b/baserock_webserver/instance-hastebin-config.yml @@ -8,11 +8,15 @@ - haste_server_service_name: haste-server tasks: - name: Install Git - dnf: name=git state=latest + apt: + name: git + state: latest become: yes - name: Install Redis - dnf: name=redis state=latest + apt: + name: redis + state: latest become: yes - name: Start Redis service @@ -23,7 +27,11 @@ become: yes - name: Install Node.js - dnf: name=nodejs state=latest + apt: + pkg: + - nodejs + - npm + state: latest become: yes - name: hastebin user @@ -47,7 +55,9 @@ become_user: hastebin - name: Install service for the haste server - template: src=hastebin/haste-server.service.in dest=/etc/systemd/system/{{ haste_server_service_name }}.service + template: + src: hastebin/haste-server.service.in + dest: /etc/systemd/system/{{ haste_server_service_name }}.service become: yes - name: Restart haste service |