File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22- name : install build essentials
33 sudo : true
4- action : apt pkg="build-essential" state=present update_cache=yes
4+ action : apt pkg="build-essential" state=present
Original file line number Diff line number Diff line change 2020 apt_repository :
2121 repo='deb http://apt.datadoghq.com/ stable main'
2222 state=present
23- update_cache=yes
2423
2524- name : Create main Datadog agent configuration file
2625 tags : ['datadog']
Original file line number Diff line number Diff line change 1515 apt :
1616 pkg="linux-image-extra-{{ ansible_kernel }}"
1717 state=present
18- update_cache=yes
1918
2019- name : install apt-transport-https
2120 sudo : yes
2221 apt :
2322 pkg="apt-transport-https"
2423 state=present
25- update_cache=yes
2624
2725- name : add docker repository key
2826 sudo : yes
3533 sudo : yes
3634 apt_repository :
3735 repo : " deb https://get.docker.com/ubuntu docker main"
38- update_cache : yes
3936 state : present
4037
4138- name : copy docker config file
5047- name : install docker
5148 sudo : yes
5249 when : restart is defined
53- apt : pkg="{{ docker_package_name }}" state=present update_cache=yes force=yes
50+ apt : pkg="{{ docker_package_name }}" state=present force=yes
5451
5552- name : restart docker
5653 when : copied_config.changed and restart is defined
Original file line number Diff line number Diff line change 22- name : install nginx
33 sudo : yes
44 apt :
5- update_cache=yes
65 pkg=nginx
76 state=present
87
3534 apt :
3635 pkg=nodejs
3736 state=present
38-
37+
3938- name : copy node script for nginx
4039 sudo : yes
4140 copy :
You can’t perform that action at this time.
0 commit comments