Skip to content

Commit

Permalink
Use include_tasks since include is deprecated.
Browse files Browse the repository at this point in the history
Basically the same as avanov#19, but rebased and updated.

credits to: @tyler-8

Closes avanov#19
  • Loading branch information
diraol committed Mar 16, 2022
1 parent 6ee80e6 commit e9d8632
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
- include: custom_facts.yml
- include_tasks: custom_facts.yml
become: true

- include: Darwin.yml
- include_tasks: Darwin.yml
when: ansible_os_family == "Darwin"

- include: Debian.yml
- include_tasks: Debian.yml
when: ansible_os_family == "Debian"

- include: RedHat.yml
- include_tasks: RedHat.yml
when: ansible_os_family == "RedHat"

- include: install.yml
- include_tasks: install.yml
become: true
become_user: "{{ pyenv_owner }}"
when: pyenv_env == "user"

- include: install.yml
- include_tasks: install.yml
become: true
when: pyenv_env == "system"

0 comments on commit e9d8632

Please sign in to comment.