diff options
author | Emma Foley <efoley@redhat.com> | 2021-04-23 19:46:57 +0100 |
---|---|---|
committer | Emma Foley <efoley@redhat.com> | 2021-12-17 09:48:20 +0000 |
commit | f3051b17dfc6e45f6cec50940c560e4cbb1d3774 (patch) | |
tree | 5705509ba0455e37fb84e999a5fc8a534575038e /docker/ansible/collectd_build.yml | |
parent | c79ce380d9f8d3e582a1e7b13e1ce116312f5c64 (diff) |
[docker][ansible] Add a playbook for building the containers
To run the playbook and build the containers, run::
sudo ansible-playbook docker/ansible/collectd_build.yml
Change-Id: I60e044f09c8da53f6d5a56d2aaa7b837b19a0b0b
Signed-off-by: Emma Foley <efoley@redhat.com>
Diffstat (limited to 'docker/ansible/collectd_build.yml')
-rw-r--r-- | docker/ansible/collectd_build.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docker/ansible/collectd_build.yml b/docker/ansible/collectd_build.yml new file mode 100644 index 00000000..d5cad076 --- /dev/null +++ b/docker/ansible/collectd_build.yml @@ -0,0 +1,22 @@ +# Copyright 2021 Anuket and others +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +--- +# ansible-playbook collectd_build.yml +# +- hosts: localhost + become: true + become_user: root + gather_facts: true + roles: + - name: build_collectd |