This is an automated email from the git hooks/post-receive script.
boklm pushed a commit to branch main in repository builders/tor-browser-build.
The following commit(s) were added to refs/heads/main by this push: new 9d26ddb Bug 40292+40467: Remote tools/ansible 9d26ddb is described below
commit 9d26ddbb0eb7e6d284fc47b1c02f396209202f3d Author: Nicolas Vigier boklm@torproject.org AuthorDate: Wed Jul 20 18:03:15 2022 +0200
Bug 40292+40467: Remote tools/ansible
Since build-sunet-a and fpcentral don't exist anymore, we can remove the tools/ansible directory.
Closes #40292 #40467 --- tools/ansible/Makefile | 5 -- tools/ansible/README | 50 ------------ tools/ansible/ansible-fpcentral.cfg | 2 - tools/ansible/fpcentral.yml | 4 - tools/ansible/inventory | 8 -- tools/ansible/roles/fpcentral/defaults/main.yml | 5 -- tools/ansible/roles/fpcentral/tasks/main.yml | 18 ----- .../roles/fpcentral/templates/fpcentral.wsgi | 14 ---- tools/ansible/roles/mta/tasks/main.yml | 24 ------ .../roles/tbb-builder/files/sudoers-tbb-build | 1 - tools/ansible/roles/tbb-builder/tasks/main.yml | 47 ----------- tools/ansible/roles/tbb-team/defaults/main.yml | 11 --- tools/ansible/roles/tbb-team/files/boklm.pub | 1 - tools/ansible/roles/tbb-team/files/cohosh.pub | 1 - tools/ansible/roles/tbb-team/files/gk.pub | 1 - tools/ansible/roles/tbb-team/files/mikeperry.pub | 1 - tools/ansible/roles/tbb-team/files/pospeselr.pub | 1 - tools/ansible/roles/tbb-team/files/sukhbir.pub | 1 - tools/ansible/roles/tbb-team/tasks/main.yml | 22 ------ .../roles/unattended-upgrades/defaults/main.yml | 2 - .../roles/unattended-upgrades/tasks/main.yml | 18 ----- .../unattended-upgrades/templates/20auto-upgrades | 2 - .../templates/50unattended-upgrades | 92 ---------------------- tools/ansible/roles/useful-packages/tasks/main.yml | 14 ---- tools/ansible/tbb-build.yml | 9 --- 25 files changed, 354 deletions(-)
diff --git a/tools/ansible/Makefile b/tools/ansible/Makefile deleted file mode 100644 index 608f932..0000000 --- a/tools/ansible/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -ansible-tbb-build: - ansible-playbook -i inventory tbb-build.yml - -fpcentral: - ANSIBLE_CONFIG='$(@D)/ansible-fpcentral.cfg' ansible-playbook -i inventory --ask-become-pass fpcentral.yml diff --git a/tools/ansible/README b/tools/ansible/README deleted file mode 100644 index 2cdcfcb..0000000 --- a/tools/ansible/README +++ /dev/null @@ -1,50 +0,0 @@ -This directory contains some ansible script that we use to set up some -machines that we use for Tor Browser development. - -To deploy some changes you need the ansible package to be installed on -your machine, and be able to log in with ssh as root on the machine(s) -where the changes need to be deployed. - -You can then use one of the following makefile targets: - -ansible-tbb-build: - Deploy changes to the machine used by Tor Browser team members to do - some Tor Browser builds. See below for more details about adding, - removing and updating users on this machine. - -fpcentral: - Deploy fpcentral to forrestii.torproject.org. To be able to run this - you need to be in the fpcentral tpo ldap group. Your ldap password will - be asked, to sudo to the fpcentral user. - - -Adding, removing, updating users on the Tor Browser team build machine -====================================================================== - -The tbb-build.yml playbook is used to set up the Tor Browser team build -machine (build-sunet-a.torproject.net). - -To add a new user: - - - add the new username to roles/tbb-team/defaults/main.yml - - add the ssh key file to roles/tbb-team/files/${username}.pub - - run "make ansible-tbb-build" - -To update the ssh key for an existing user: - - update roles/tbb-team/files/${username}.pub - - run "make ansible-tbb-build" - -To remove a user and their home directory from the build machine: - - in roles/tbb-team/defaults/main.yml, move the user from - tbb_team_members to tbb_team_alums - - remove roles/tbb-team/files/${username}.pub - - run "make ansible-tbb-build" - -To install additional packages you can add them to -roles/tbb-builder/tasks/main.yml if they are necessary to build -Tor Browser, or to roles/useful-packages/tasks/main.yml otherwise. - -If you don't want to apply the changes directly, but first want to check -what would be the changes done by ansible, you can edit the ansible-playbook -command in the Makefile to add the --check argument. - diff --git a/tools/ansible/ansible-fpcentral.cfg b/tools/ansible/ansible-fpcentral.cfg deleted file mode 100644 index 2ee3fb4..0000000 --- a/tools/ansible/ansible-fpcentral.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[defaults] -allow_world_readable_tmpfiles=True diff --git a/tools/ansible/fpcentral.yml b/tools/ansible/fpcentral.yml deleted file mode 100644 index 80421a3..0000000 --- a/tools/ansible/fpcentral.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- hosts: fpcentral - roles: - - role: fpcentral diff --git a/tools/ansible/inventory b/tools/ansible/inventory deleted file mode 100644 index 32a5805..0000000 --- a/tools/ansible/inventory +++ /dev/null @@ -1,8 +0,0 @@ -build-sunet-a ansible_ssh_user=root ansible_ssh_host=build-sunet-a.torproject.net -fpcentral ansible_become=True ansible_become_method=sudo ansible_become_user=fpcentral ansible_ssh_host=forrestii.torproject.org allow_world_readable_tmpfiles=True - -[tbb-build] -build-sunet-a - -[fpcentral] -fpcentral diff --git a/tools/ansible/roles/fpcentral/defaults/main.yml b/tools/ansible/roles/fpcentral/defaults/main.yml deleted file mode 100644 index e43b348..0000000 --- a/tools/ansible/roles/fpcentral/defaults/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -fpcentral_git_url: https://git.torproject.org/fpcentral.git -fpcentral_git_commit: fc8fc9113e5ee2f84ce30f0b8051772dd9d75447 -fpcentral_rootdir: /srv/fpcentral.tbb.torproject.org -fpcentral_virtualenv: "{{ fpcentral_rootdir }}/fpcentral-virtualenv" diff --git a/tools/ansible/roles/fpcentral/tasks/main.yml b/tools/ansible/roles/fpcentral/tasks/main.yml deleted file mode 100644 index e5a4d2e..0000000 --- a/tools/ansible/roles/fpcentral/tasks/main.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: clone fpcentral git repo - git: repo={{ fpcentral_git_url }} dest={{ fpcentral_rootdir }}/fpcentral - version={{ fpcentral_git_commit }} - -- name: create python3 virtual env - command: "python3 -mvirtualenv -p python3 {{ fpcentral_virtualenv }}" - args: - creates: "{{ fpcentral_virtualenv }}" - -- name: install required python modules - command: "{{ fpcentral_virtualenv }}/bin/pip3 install -r {{ fpcentral_rootdir }}/fpcentral/requirements.txt" - -- template: - src: fpcentral.wsgi - dest: "{{ fpcentral_rootdir }}/fpcentral/fpcentral.wsgi" - mode: 0755 - diff --git a/tools/ansible/roles/fpcentral/templates/fpcentral.wsgi b/tools/ansible/roles/fpcentral/templates/fpcentral.wsgi deleted file mode 100644 index d4d7575..0000000 --- a/tools/ansible/roles/fpcentral/templates/fpcentral.wsgi +++ /dev/null @@ -1,14 +0,0 @@ -activate_this = '{{ fpcentral_virtualenv }}/bin/activate_this.py' -with open(activate_this) as file_: - exec(file_.read(), dict(__file__=activate_this)) - -import sys -sys.path.insert(0, '{{ fpcentral_rootdir }}/fpcentral') -import os -os.chdir('{{ fpcentral_rootdir }}/fpcentral') -from run import app as application - -# we include the fpcentral commit as a comment, to make sure the -# fpcentral.wsgi file is modified when the commit is updated, causing -# the process to be restarted: -# {{ fpcentral_git_commit }} diff --git a/tools/ansible/roles/mta/tasks/main.yml b/tools/ansible/roles/mta/tasks/main.yml deleted file mode 100644 index 9c5ac49..0000000 --- a/tools/ansible/roles/mta/tasks/main.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- - -- name: Install dma (DragonFly Mail Agent) - apt: - name: dma - state: present - -- name: create dma auth.conf - copy: - dest: /etc/dma/auth.conf - mode: 0640 - owner: root - group: mail - content: "{{ dma_auth_conf }}" - when: dma_auth_conf is defined - -- name: create dma.conf - copy: - dest: /etc/dma/dma.conf - mode: 0640 - owner: root - group: mail - content: "{{ dma_conf }}" - when: dma_conf is defined diff --git a/tools/ansible/roles/tbb-builder/files/sudoers-tbb-build b/tools/ansible/roles/tbb-builder/files/sudoers-tbb-build deleted file mode 100644 index 5f2e48d..0000000 --- a/tools/ansible/roles/tbb-builder/files/sudoers-tbb-build +++ /dev/null @@ -1 +0,0 @@ -%tbb-build ALL=(ALL) NOPASSWD: ALL diff --git a/tools/ansible/roles/tbb-builder/tasks/main.yml b/tools/ansible/roles/tbb-builder/tasks/main.yml deleted file mode 100644 index 92b35e8..0000000 --- a/tools/ansible/roles/tbb-builder/tasks/main.yml +++ /dev/null @@ -1,47 +0,0 @@ ---- - -- name: Install dependencies for Tor Browser build - apt: - name: "{{ item }}" - state: present - with_items: - - git - - sudo - - libyaml-libyaml-perl - - libtemplate-perl - - libio-handle-util-perl - - libio-all-perl - - libio-captureoutput-perl - - libpath-tiny-perl - - libstring-shellquote-perl - - libsort-versions-perl - - libdigest-sha-perl - - libdata-uuid-perl - - libdata-dump-perl - - libfile-copy-recursive-perl - - libfile-slurp-perl - - libgtk2.0-dev - - curl - - runc - - mercurial - -- name: Install dependencies for update_responses script - apt: - name: "{{ item }}" - state: present - with_items: - - libfindbin-libs-perl - - libxml-writer-perl - - libparallel-forkmanager-perl - - libxml-libxml-perl - - libwww-perl - - libjson-perl - - libyaml-perl - -- name: Create the tbb-build group - group: - name: tbb-build - state: present - -- name: Give sudo access to tbb-build group members - copy: src=sudoers-tbb-build dest=/etc/sudoers.d/tbb-build owner=root group=root mode=0440 diff --git a/tools/ansible/roles/tbb-team/defaults/main.yml b/tools/ansible/roles/tbb-team/defaults/main.yml deleted file mode 100644 index 879c435..0000000 --- a/tools/ansible/roles/tbb-team/defaults/main.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -tbb_team_members: - - boklm - - cohosh - - gk - - mikeperry - - pospeselr - - sukhbir -tbb_team_alums: - - brade - - mcs diff --git a/tools/ansible/roles/tbb-team/files/boklm.pub b/tools/ansible/roles/tbb-team/files/boklm.pub deleted file mode 100644 index 471f271..0000000 --- a/tools/ansible/roles/tbb-team/files/boklm.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuY6Clt4tqljhnQAfIAq2RcuB3UgQ1odLtYc+AlnwcgWgYoqByGXT52YnYd44MQ0rPpXGh6M5MeXGF33OOLkBm8QeFHiev4njq/14A5qMIH+xV4T/ft1vEE3PTuarzyhv/Qp1s0dt4/XibzMPND5zFQJUFsTON6WYix0cwBOa80W46P56jPca56kTnL045N8MJNFA4ELby68QaMMK0lEzupgLtzRnqc123paZr3FAgCOxNlYC83ftAsDuVNCzbp0+i3W0ZWBbqVo+wWbty7WJK4TjuQszS2oP+d5xxktXUVyVXu2xm0BV0kXgh6lV4ixDPKQsZrlUYalFN5QIQWwzb q-wo diff --git a/tools/ansible/roles/tbb-team/files/cohosh.pub b/tools/ansible/roles/tbb-team/files/cohosh.pub deleted file mode 100644 index 907a763..0000000 --- a/tools/ansible/roles/tbb-team/files/cohosh.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDttnqVcCBFEtAfbYM0POVjAt5fBVwNPU3IUPhxLJnw diff --git a/tools/ansible/roles/tbb-team/files/gk.pub b/tools/ansible/roles/tbb-team/files/gk.pub deleted file mode 100644 index a0985d9..0000000 --- a/tools/ansible/roles/tbb-team/files/gk.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDGAn0mJnf4IUiASnXgOHE6zsCtO0P+TFS6YauchrC2knH+kJXyHswHibNO/R16JayyPkgX5c00Z3QAO2gkvYODLO37/lwWyy7/58Zqa6XRz5VnwvJ1eCzHJrBa+ll57GEsBaU9+tSXVnk6mF2d4+/mzAxdBco1N2mAd7KxjRgJFX+UV2aDDWalLiHzqj1ZQIt/4P/z4pLU1fPISy1EygA7pZ/gOGV3T0hpH/yxrOc5cspJb4APA6fWzsFBE2SFWx/+4cvtorIUi55UWbWqen3BDrQxFaGEovWGYsa0ykMbA3TZ/cTGqkneJjFzJuFYwu+x/XMUEUYo7TqXzInz1kOMLep/1MQWX0n3NCUoUMxBlg93YaEnkff0D7pAQsi2Km+6PQXYiHSve61IBVaq6J2deZnrsriI+u3OR5/5OuUnrpbQI4QyDojAF/ZFtKeaLsWQGgjz [...] diff --git a/tools/ansible/roles/tbb-team/files/mikeperry.pub b/tools/ansible/roles/tbb-team/files/mikeperry.pub deleted file mode 100644 index 277f539..0000000 --- a/tools/ansible/roles/tbb-team/files/mikeperry.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6R7SmJ88cNencqZTtUmU8cpVpOJCzEklXNIBF4y44ZO2QY9iqJdbC2vuMV68/XUP1G9rz1BOTvyyO3T4/KlvRlHiQEMOy2FObc5znVOAshEqSm450AjGAjpOClV+EpJrvd7LqGIcR6/rLZym7P4aYHkUW/C5DEvyQZUmiCnFSUv8Zh2PFOATP4Veyi0PbJvEPZ73n9QZXDq4mERa1dvwBnGIlXJwKdf3U0Eyx1rZe8OIMY9Rpn+Gq3iuk+1u4SCMiUQGNJ1diG/t40leXlhN3N2cIEBUISpPtwpmTw988UwKneKCXsdi6Dhu2XWoSHpsQrjPDmh9vbpi2yLvlgGv2Q== user@remote diff --git a/tools/ansible/roles/tbb-team/files/pospeselr.pub b/tools/ansible/roles/tbb-team/files/pospeselr.pub deleted file mode 100644 index 17274a4..0000000 --- a/tools/ansible/roles/tbb-team/files/pospeselr.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDN8+GoMp+QiVpBXK8raB2u+3+BdqCL1CCTRzVu6jr+nqvwF2zFgH6qW6WTz85PEM1Lm66wY3SNwsNoCr3Kt53MQa1g6V9sGudi7kYUoV3u7LxLVMwNKK9K6YZZjDFCWBmhcvw/ntFccShgkv8zSCtcbHp1bLivImFi8MCTHJ/Uul/moi0vd3OPXYWGhPQDnLW7+q3o6DenffvjkdP/88QIJe63b/TesLLiC+Czeuu6sTNftCgBVmMwHyYrFPeIrQsiz2tYNgG9Iyd06ElozouGywFvT/s6zKnQUw7J5Mcv4MLXIj/6n75r/g/lVNT3cwho5RlBkGCC+xUH7+Us2QliuILp1EgaVsqB989j4EyTrYoUxfBhtXlmUXbaydO0cYG2tVwk7QRx6PTPO1xcR/UXo3VPio9/BHCZ1d2CPV0xCaXoCMp09fTSLCBM4o0NoxrFJAfb [...] diff --git a/tools/ansible/roles/tbb-team/files/sukhbir.pub b/tools/ansible/roles/tbb-team/files/sukhbir.pub deleted file mode 100644 index 3277487..0000000 --- a/tools/ansible/roles/tbb-team/files/sukhbir.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs5gQrS9m8H4qiR+Q0BT85jIHFgSb3ns2l1M1JWgWyI5eZvXCxIq1G9xI+HOp86mHA2XX7uWSCKWiWM1lt4UnM4jHm5thC2MEsKVqHaHF7s+lXq2uhybUma2fxXdYc9AM/TxujKKJ6U5qIkqLsX3HF5tQtEKY2lgPXgXNpldfX/IhtBWOfmRGTH5iu1hBIhhMAz31lTcYR4AOpcSeeMGRhYEka5RrH492OLfCVxphtlRtXm4CtAL4NpNe/cMZnntqprJJAjRJC71gU3OpT5a2zKKctN/5wTwAWpR1URXrQK4Mu37angYhjR/698iTJVAv2XxEgkB+NUCse98cIMUj5 sukhbir.in@gmail.com diff --git a/tools/ansible/roles/tbb-team/tasks/main.yml b/tools/ansible/roles/tbb-team/tasks/main.yml deleted file mode 100644 index 8e63416..0000000 --- a/tools/ansible/roles/tbb-team/tasks/main.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Add tbb-team users - user: - name: "{{ item }}" - state: present - groups: tbb-build - shell: /bin/bash - with_items: "{{ tbb_team_members }}" - -- name: Add ssh keys to authorized_keys - authorized_key: - user: "{{ item }}" - state: present - key: "{{ lookup('file', item + '.pub') }}" - with_items: "{{ tbb_team_members }}" - -- name: Remove tbb-team alums users - user: - name: "{{ item }}" - state: absent - remove: yes - with_items: "{{ tbb_team_alums }}" diff --git a/tools/ansible/roles/unattended-upgrades/defaults/main.yml b/tools/ansible/roles/unattended-upgrades/defaults/main.yml deleted file mode 100644 index f6351a7..0000000 --- a/tools/ansible/roles/unattended-upgrades/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -unattended_upgrade_mail: 'boklm@mars-attacks.org' diff --git a/tools/ansible/roles/unattended-upgrades/tasks/main.yml b/tools/ansible/roles/unattended-upgrades/tasks/main.yml deleted file mode 100644 index de0892b..0000000 --- a/tools/ansible/roles/unattended-upgrades/tasks/main.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- - -- name: Install unattended-updates - apt: - name: unattended-upgrades - state: present - -- name: Install apt-listchanges - apt: - name: apt-listchanges - state: present - -- name: create /etc/apt/apt.conf.d/50unattended-upgrades - template: src=50unattended-upgrades dest=/etc/apt/apt.conf.d/50unattended-upgrades mode=0644 - -- name: create /etc/apt/apt.conf.d/20auto-upgrades - template: src=20auto-upgrades dest=/etc/apt/apt.conf.d/20auto-upgrades mode=0644 - diff --git a/tools/ansible/roles/unattended-upgrades/templates/20auto-upgrades b/tools/ansible/roles/unattended-upgrades/templates/20auto-upgrades deleted file mode 100644 index 8d6d7c8..0000000 --- a/tools/ansible/roles/unattended-upgrades/templates/20auto-upgrades +++ /dev/null @@ -1,2 +0,0 @@ -APT::Periodic::Update-Package-Lists "1"; -APT::Periodic::Unattended-Upgrade "1"; diff --git a/tools/ansible/roles/unattended-upgrades/templates/50unattended-upgrades b/tools/ansible/roles/unattended-upgrades/templates/50unattended-upgrades deleted file mode 100644 index d4904ab..0000000 --- a/tools/ansible/roles/unattended-upgrades/templates/50unattended-upgrades +++ /dev/null @@ -1,92 +0,0 @@ -// Unattended-Upgrade::Origins-Pattern controls which packages are -// upgraded. -// -// Lines below have the format format is "keyword=value,...". A -// package will be upgraded only if the values in its metadata match -// all the supplied keywords in a line. (In other words, omitted -// keywords are wild cards.) The keywords originate from the Release -// file, but several aliases are accepted. The accepted keywords are: -// a,archive,suite (eg, "stable") -// c,component (eg, "main", "crontrib", "non-free") -// l,label (eg, "Debian", "Debian-Security") -// o,origin (eg, "Debian", "Unofficial Multimedia Packages") -// n,codename (eg, "jessie", "jessie-updates") -// site (eg, "http.debian.net") -// The available values on the system are printed by the command -// "apt-cache policy", and can be debugged by running -// "unattended-upgrades -d" and looking at the log file. -// -// Within lines unattended-upgrades allows 2 macros whose values are -// derived from /etc/debian_version: -// ${distro_id} Installed origin. -// ${distro_codename} Installed codename (eg, "jessie") -Unattended-Upgrade::Origins-Pattern { - // Codename based matching: - // This will follow the migration of a release through different - // archives (e.g. from testing to stable and later oldstable). -// "o=Debian,n=jessie"; -// "o=Debian,n=jessie-updates"; -// "o=Debian,n=jessie-proposed-updates"; -// "o=Debian,n=jessie,l=Debian-Security"; - - // Archive or Suite based matching: - // Note that this will silently match a different release after - // migration to the specified archive (e.g. testing becomes the - // new stable). -// "o=Debian,a=stable"; -// "o=Debian,a=stable-updates"; -// "o=Debian,a=proposed-updates"; - "origin=Debian,codename=${distro_codename},label=Debian-Security"; -}; - -// List of packages to not update (regexp are supported) -Unattended-Upgrade::Package-Blacklist { -// "vim"; -// "libc6"; -// "libc6-dev"; -// "libc6-i686"; -}; - -// This option allows you to control if on a unclean dpkg exit -// unattended-upgrades will automatically run -// dpkg --force-confold --configure -a -// The default is true, to ensure updates keep getting installed -//Unattended-Upgrade::AutoFixInterruptedDpkg "false"; - -// Split the upgrade into the smallest possible chunks so that -// they can be interrupted with SIGUSR1. This makes the upgrade -// a bit slower but it has the benefit that shutdown while a upgrade -// is running is possible (with a small delay) -//Unattended-Upgrade::MinimalSteps "true"; - -// Install all unattended-upgrades when the machine is shuting down -// instead of doing it in the background while the machine is running -// This will (obviously) make shutdown slower -//Unattended-Upgrade::InstallOnShutdown "true"; - -// Send email to this address for problems or packages upgrades -// If empty or unset then no email is sent, make sure that you -// have a working mail setup on your system. A package that provides -// 'mailx' must be installed. E.g. "user@example.com" -Unattended-Upgrade::Mail "{{ unattended_upgrade_mail }}"; - -// Set this value to "true" to get emails only on errors. Default -// is to always send a mail if Unattended-Upgrade::Mail is set -//Unattended-Upgrade::MailOnlyOnError "true"; - -// Do automatic removal of new unused dependencies after the upgrade -// (equivalent to apt-get autoremove) -//Unattended-Upgrade::Remove-Unused-Dependencies "false"; - -// Automatically reboot *WITHOUT CONFIRMATION* if -// the file /var/run/reboot-required is found after the upgrade -//Unattended-Upgrade::Automatic-Reboot "false"; - -// If automatic reboot is enabled and needed, reboot at the specific -// time instead of immediately -// Default: "now" -//Unattended-Upgrade::Automatic-Reboot-Time "02:00"; - -// Use apt bandwidth limit feature, this example limits the download -// speed to 70kb/sec -//Acquire::http::Dl-Limit "70"; diff --git a/tools/ansible/roles/useful-packages/tasks/main.yml b/tools/ansible/roles/useful-packages/tasks/main.yml deleted file mode 100644 index 1bb0255..0000000 --- a/tools/ansible/roles/useful-packages/tasks/main.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- - -- name: Install some useful packages - apt: - name: "{{ item }}" - state: present - with_items: - - locales - - vim-nox - - tmux - - tor - - torsocks - - screen - - fail2ban diff --git a/tools/ansible/tbb-build.yml b/tools/ansible/tbb-build.yml deleted file mode 100644 index 3d9f543..0000000 --- a/tools/ansible/tbb-build.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- - -- hosts: tbb-build - roles: - - role: tbb-builder - - role: useful-packages - - role: tbb-team - - role: mta - - role: unattended-upgrades