|
|
@@ -1,5 +1,14 @@ |
|
|
|
--- |
|
|
|
|
|
|
|
# packages setup |
|
|
|
- import_tasks: debian_repos.yaml |
|
|
|
when: |
|
|
|
- ansible_distribution == "Debian" |
|
|
|
- not ansible_lsb.id is defined or ansible_lsb.id != "Raspbian" |
|
|
|
|
|
|
|
- import_tasks: debian_packages.yaml |
|
|
|
when: ansible_distribution == "Debian" |
|
|
|
|
|
|
|
# user setup |
|
|
|
- import_tasks: root_user.yaml |
|
|
|
- import_tasks: ssh-agent.yaml |
|
|
@@ -20,14 +29,6 @@ |
|
|
|
|
|
|
|
- import_tasks: network.yaml |
|
|
|
|
|
|
|
# packages setup |
|
|
|
- import_tasks: debian_repos.yaml |
|
|
|
when: |
|
|
|
- ansible_distribution == "Debian" |
|
|
|
- not ansible_lsb.id is defined or ansible_lsb.id != "Raspbian" |
|
|
|
|
|
|
|
- import_tasks: debian_packages.yaml |
|
|
|
when: ansible_distribution == "Debian" |
|
|
|
# shell setup |
|
|
|
- import_tasks: shells/fish.yaml |
|
|
|
tags: |
|
|
|