diff options
Diffstat (limited to 'contractor.md')
-rw-r--r-- | contractor.md | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/contractor.md b/contractor.md index 42ed3c8..9a19a39 100644 --- a/contractor.md +++ b/contractor.md @@ -312,8 +312,15 @@ then the JSON output matches dump.yaml ~~~{.file #dump.yaml .yaml .numberLines} worker-image: worker.img -install: - - build-essential +ansible: + - hosts: worker + remote_user: worker + become: yes + tasks: + - apt: + name: build-essential + vars: + ansible_python_interpreter: /usr/bin/python3 source: . workspace: workspace build: | @@ -354,8 +361,15 @@ int main() ~~~{.file #hello.yaml .yaml .numberLines} worker-image: worker.img -install: - - build-essential +ansible: + - hosts: worker + remote_user: worker + become: yes + tasks: + - apt: + name: build-essential + vars: + ansible_python_interpreter: /usr/bin/python3 source: . workspace: ws build: | |