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.

config.yml 464B

6 vuotta sitten
12345678910111213141516171819
  1. ---
  2. # https://github.com/ansible/ansible/issues/30599
  3. - name: "fill config file with a global variable because of ansible bug #30599"
  4. copy:
  5. content: RUN_MODE = prod
  6. dest: /etc/gitea/app.ini
  7. force: no
  8. - name: gitea config
  9. ini_file:
  10. path: /etc/gitea/app.ini
  11. section: "{{ item.section }}"
  12. option: "{{ item.option }}"
  13. value: "{{ item.value }}"
  14. owner: git
  15. group: git
  16. notify: restart gitea
  17. with_items: "{{ _gitea_config }}"