您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20 行
464B

  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 }}"