|
|
@ -4,7 +4,7 @@ |
|
|
|
gather_facts: no |
|
|
|
vars: |
|
|
|
user: "docker" |
|
|
|
|
|
|
|
|
|
|
|
tasks: |
|
|
|
|
|
|
|
# ------------------------ |
|
|
@ -19,9 +19,10 @@ |
|
|
|
cache_valid_time: 3600 |
|
|
|
install_recommends: true |
|
|
|
autoremove: true |
|
|
|
# ------------------------ |
|
|
|
# apt install packages |
|
|
|
# ------------------------- |
|
|
|
|
|
|
|
# ------------------------ |
|
|
|
# apt install packages |
|
|
|
# ------------------------- |
|
|
|
- name: apt install packages |
|
|
|
become: true |
|
|
|
apt: |
|
|
@ -32,7 +33,16 @@ |
|
|
|
name: "{{ packages }}" |
|
|
|
vars: |
|
|
|
packages: |
|
|
|
- build-essential |
|
|
|
- build-essential |
|
|
|
- git |
|
|
|
- flex |
|
|
|
- bison |
|
|
|
- traceroute |
|
|
|
- curl |
|
|
|
- lynx |
|
|
|
- ruby |
|
|
|
|
|
|
|
|
|
|
|
# - name: Import the public key used by the package management system |
|
|
|
# apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=7F0CEB10 state=present |
|
|
|
# - name: Add MongoDB repository |
|
|
|