Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 1 | --- |
2 | - name: Install software | ||||
3 | apt: | ||||
4 | name={{ item }} | ||||
5 | update_cache=yes | ||||
6 | cache_valid_time=3600 | ||||
7 | become: yes | ||||
8 | register: result | ||||
9 | until: result | success | ||||
10 | retries: 15 | ||||
11 | delay: 60 | ||||
12 | with_items: | ||||
13 | - lxc | ||||
Andy Bavier | b83beac | 2016-10-20 15:54:08 -0400 | [diff] [blame] | 14 | - lxc-dev |
15 | - python-dev | ||||
Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 16 | |
Andy Bavier | b83beac | 2016-10-20 15:54:08 -0400 | [diff] [blame] | 17 | - name: Install PIP packages |
18 | pip: | ||||
19 | name={{ item }} | ||||
Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 20 | become: yes |
Andy Bavier | b83beac | 2016-10-20 15:54:08 -0400 | [diff] [blame] | 21 | register: result |
22 | until: result | success | ||||
23 | retries: 15 | ||||
24 | delay: 60 | ||||
Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 25 | with_items: |
Andy Bavier | b83beac | 2016-10-20 15:54:08 -0400 | [diff] [blame] | 26 | - lxc-python2 |