Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prosody.yml 842B

12345678910111213141516171819202122
  1. - name: Ensure repository key for Prosody is in place
  2. apt_key: url=https://prosody.im/files/prosody-debian-packages.key state=present
  3. - name: Add Prosody repository
  4. apt_repository: repo='deb http://packages.prosody.im/debian wheezy main'
  5. - name: Install Prosody from official repository
  6. apt: pkg=prosody update_cache=yes
  7. - name: Add prosody user to ssl-cert group
  8. user: name=prosody groups=ssl-cert append=yes
  9. - name: Create Prosody data directory
  10. file: state=directory path=/decrypted/prosody owner=prosody group=prosody
  11. - name: Configure Prosody
  12. template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua group=root owner=root
  13. notify: restart prosody
  14. - name: Create Prosody accounts
  15. command: prosodyctl register {{ item.name }} {{ prosody_virtual_domain }} "{{ item.password }}"
  16. with_items: prosody_accounts