diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-11-09 10:12:29 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-11-09 10:12:29 +0200 |
commit | 56c930c65e81cda335c13f5483d5ec170afe5983 (patch) | |
tree | 635e5734c555cf1974cc621d54c85fec78636f93 /ansible/ick2-dev.yml | |
parent | 24d3e361b3375be90dc8c9965c33b0226d59f635 (diff) | |
download | ansibleness-56c930c65e81cda335c13f5483d5ec170afe5983.tar.gz |
ick2-dev: add playbook
Sponsored-by: author
Diffstat (limited to 'ansible/ick2-dev.yml')
-rw-r--r-- | ansible/ick2-dev.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ansible/ick2-dev.yml b/ansible/ick2-dev.yml new file mode 100644 index 0000000..6a8b0c6 --- /dev/null +++ b/ansible/ick2-dev.yml @@ -0,0 +1,50 @@ +- hosts: ick2-dev + remote_user: debian + become: yes + roles: + - role: sane_debian_system + - role: unix_users + - role: version-controller + - role: liw + tasks: + - name: "install build dependencies for Ick" + apt: + state: present + name: + - debhelper + - python3-all + - python3-bottle + - python-cliapp + - python3-cliapp + - python3-coverage-test-runner + - python3-apifw + - python3-slog + - python3-cryptography + - python3-requests + - python-requests + - pycodestyle + - gunicorn3 + - python3-yaml + - cmdtest + - copyright-statement-lint + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: ick2-dev + sane_debian_system_codename: buster + sane_debian_system_sources_lists: + - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main + signing_key: "{{ ci_prod_signing_key }}" + + unix_users_version: 2 + unix_users: + - username: liw + comment: Lars Wirzenius + sudo: true + authorized_keys: | + {{ liw_personal_ssh_pub }} + ssh_key: | + {{ lookup('pipe', 'pass show ssh/liw@mirror-git') }} + ssh_key_pub: | + {{ lookup('pipe', 'pass show ssh/liw@mirror-git.pub') }} |