選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

31 行
631B

  1. ---
  2. - name: debian packages
  3. apt:
  4. pkg:
  5. - wireguard
  6. - jo
  7. - name: ansible local facts directory
  8. file:
  9. path: /etc/ansible/facts.d
  10. state: directory
  11. - name: private key
  12. command: sh -c "umask 077; wg genkey > /etc/wireguard/private_key"
  13. args:
  14. creates: /etc/wireguard/private_key
  15. notify: gather facts again
  16. - name: ansible local facts
  17. copy:
  18. src: wireguard-local-facts.sh
  19. dest: /etc/ansible/facts.d/wireguard.fact
  20. mode: 0750
  21. notify: gather facts again
  22. - name: flush handlers
  23. ansible.builtin.meta: flush_handlers
  24. - include_tasks: "method/{{wireguard_configuration_method}}.yaml"