1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

spaceout block conditionals

This commit is contained in:
Jerry Vonau 2020-08-25 17:02:52 -05:00
parent 1d4776ac59
commit f709dd6faa

View file

@ -46,6 +46,8 @@
groups: mongodb
home: /var/lib/mongodb
shell: /usr/sbin/nologin
# end block
when: is_raspbian and not (ansible_architecture == "aarch64")
# OLD WAY / MUCH SLOWER: had put unnec duplicate copies in /opt/iiab/downloads/mongodb-3.0.1x
@ -110,6 +112,8 @@
- mongodb-org
- mongodb-org-server
state: present
# end block
when: (ansible_architecture == "aarch64") or (ansible_architecture == "amd64")