Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ansible-roles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jocelyn Delalande
ansible-roles
Commits
ac8612f7
Commit
ac8612f7
authored
Aug 30, 2018
by
Jocelyn Delalande
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deprecation warning about apt: state=installed
parent
4d565e66
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
28 additions
and
28 deletions
+28
-28
bind/tasks/main.yml
bind/tasks/main.yml
+1
-1
cifs-client/tasks/main.yml
cifs-client/tasks/main.yml
+1
-1
cifs-server/tasks/main.yml
cifs-server/tasks/main.yml
+1
-1
dnsmasq/tasks/main.yml
dnsmasq/tasks/main.yml
+1
-1
haproxy-ip4-proxy/tasks/main.yml
haproxy-ip4-proxy/tasks/main.yml
+1
-1
hostapd/tasks/main.yml
hostapd/tasks/main.yml
+2
-2
jupyterhub/tasks/nodesource.yml
jupyterhub/tasks/nodesource.yml
+2
-2
lettravox/tasks/main.yml
lettravox/tasks/main.yml
+2
-2
lxc-host/tasks/main.yml
lxc-host/tasks/main.yml
+1
-1
mopidy/tasks/cifs.yml
mopidy/tasks/cifs.yml
+1
-1
mopidy/tasks/main.yml
mopidy/tasks/main.yml
+1
-1
pulse-server/tasks/main.yml
pulse-server/tasks/main.yml
+1
-1
radvd/tasks/main.yml
radvd/tasks/main.yml
+1
-1
router/tasks/main.yml
router/tasks/main.yml
+1
-1
rsync-backup-client/tasks/setup.yml
rsync-backup-client/tasks/setup.yml
+1
-1
rsync-mirror/tasks/main.yml
rsync-mirror/tasks/main.yml
+1
-1
rsync-server/tasks/main.yml
rsync-server/tasks/main.yml
+2
-2
scanserver/tasks/main.yml
scanserver/tasks/main.yml
+1
-1
scanserver/tasks/scanbuttond.yml
scanserver/tasks/scanbuttond.yml
+2
-2
transparency/tasks/main.yml
transparency/tasks/main.yml
+2
-2
vpn-client/tasks/main.yml
vpn-client/tasks/main.yml
+1
-1
ympd/tasks/main.yml
ympd/tasks/main.yml
+1
-1
No files found.
bind/tasks/main.yml
View file @
ac8612f7
-
name
:
Install bind9
apt
:
pkg=bind9 state=
installed
update_cache=yes cache_valid_time=360
apt
:
pkg=bind9 state=
present
update_cache=yes cache_valid_time=360
-
name
:
Build named.conf.local
template
:
src=named.conf.local.j2 dest=/etc/bind/named.conf.local
...
...
cifs-client/tasks/main.yml
View file @
ac8612f7
-
name
:
Install cifs-utils
apt
:
pkg=cifs-utils state=
installed
apt
:
pkg=cifs-utils state=
present
-
name
:
Install CIFS credentials file
template
:
...
...
cifs-server/tasks/main.yml
View file @
ac8612f7
-
name
:
Install required package
apt
:
pkg=samba state=
installed
apt
:
pkg=samba state=
present
-
name
:
Put config file
template
:
src=smb.conf.j2 dest=/etc/samba/smb.conf
...
...
dnsmasq/tasks/main.yml
View file @
ac8612f7
-
name
:
Install dnsmasq package
apt
:
pkg=dnsmasq state=
installed
apt
:
pkg=dnsmasq state=
present
-
name
:
Puts the default init dnsmasq file
template
:
src=default-dnsmasq.j2 dest=/etc/default/dnsmasq
...
...
haproxy-ip4-proxy/tasks/main.yml
View file @
ac8612f7
-
name
:
Installs haproxy
apt
:
pkg=haproxy state=
installed
update_cache=yes cache_valid_time=3600
apt
:
pkg=haproxy state=
present
update_cache=yes cache_valid_time=3600
-
name
:
Set haproxy config
template
:
src=haproxy.cfg.j2 dest=/etc/haproxy/haproxy.cfg
...
...
hostapd/tasks/main.yml
View file @
ac8612f7
-
name
:
Install hostapd
apt
:
pkg=hostapd state=
installed
apt
:
pkg=hostapd state=
present
-
name
:
Install ralink firmware
apt
:
pkg=firmware-ralink state=
installed
apt
:
pkg=firmware-ralink state=
present
-
name
:
Install hostapd config
template
:
src=hostapd.conf.j2 dest=/etc/hostapd/hostapd.conf
...
...
jupyterhub/tasks/nodesource.yml
View file @
ac8612f7
...
...
@@ -9,7 +9,7 @@
-
name
:
Install HTTPS transport for APT
apt
:
pkg
:
apt-transport-https
state
:
installed
state
:
present
when
:
not apt_https_transport.stat.exists
-
name
:
Import the NodeSource GPG key into apt
...
...
@@ -36,5 +36,5 @@
-
name
:
Install Node.js
apt
:
pkg
:
nodejs
state
:
installed
state
:
present
update_cache
:
yes
\ No newline at end of file
lettravox/tasks/main.yml
View file @
ac8612f7
-
name
:
install dependencies
apt
:
name={{ item }} force=yes state=
installed
apt
:
name={{ item }} force=yes state=
present
with_items
:
-
python
-
python-virtualenv
...
...
@@ -116,7 +116,7 @@
-
name
:
install supervisor
apt
:
pkg=supervisor state=
installed
apt
:
pkg=supervisor state=
present
-
name
:
set supervisord config
template
:
src=supervisor.j2 dest=/etc/supervisor/conf.d/lettravox.conf mode=644
...
...
lxc-host/tasks/main.yml
View file @
ac8612f7
-
name
:
Install lxc packages
apt
:
pkg={{ item }} state=
installed
apt
:
pkg={{ item }} state=
present
with_items
:
-
lxc
-
python-lxc
...
...
mopidy/tasks/cifs.yml
View file @
ac8612f7
-
name
:
Install cifs-utils
apt
:
pkg=cifs-utils state=
installed
apt
:
pkg=cifs-utils state=
present
-
name
:
Ensure CIFS mount is present
mount
:
...
...
mopidy/tasks/main.yml
View file @
ac8612f7
...
...
@@ -10,7 +10,7 @@
apt_repository
:
repo='ppa:mc3man/trusty-media'
-
name
:
Install mopidy and codecs
apt
:
pkg={{ item }} state=
installed
update_cache=yes cache_valid_time=3600
apt
:
pkg={{ item }} state=
present
update_cache=yes cache_valid_time=3600
with_items
:
-
mopidy
-
gstreamer0.10-ffmpeg
# from ppa:mc3man/trusty-media, for wma
...
...
pulse-server/tasks/main.yml
View file @
ac8612f7
-
name
:
Install required packages
apt
:
pkg={{ item }} state=
installed
apt
:
pkg={{ item }} state=
present
with_items
:
-
libasound2
-
libasound2-plugins
...
...
radvd/tasks/main.yml
View file @
ac8612f7
-
name
:
Install radvd package
apt
:
pkg=radvd state=
installed
apt
:
pkg=radvd state=
present
-
name
:
Puts the vpn conf in place
template
:
src=radvd.conf.j2 dest=/etc/radvd.conf owner=radvd mode=0444
...
...
router/tasks/main.yml
View file @
ac8612f7
...
...
@@ -3,7 +3,7 @@
# notify: restart networking
-
name
:
Install vlan tools
apt
:
pkg=vlan state=
installed
apt
:
pkg=vlan state=
present
-
name
:
Load vlan module on boot
copy
:
src=vlan-module.conf dest=/etc/modules-load.d/vlan.conf
...
...
rsync-backup-client/tasks/setup.yml
View file @
ac8612f7
-
name
:
Install rsync
apt
:
pkg=rsync state=
installed
apt
:
pkg=rsync state=
present
-
name
:
Check that ssh private key exists
file
:
...
...
rsync-mirror/tasks/main.yml
View file @
ac8612f7
-
name
:
Install rsync
apt
:
pkg=rsync state=
installed
apt
:
pkg=rsync state=
present
-
name
:
Ensure user exist
user
:
name="{{ item.local_user }}" createhome=yes
...
...
rsync-server/tasks/main.yml
View file @
ac8612f7
-
name
:
Install rsync
apt
:
pkg=rsync state=
installed
apt
:
pkg=rsync state=
present
-
name
:
Install a recent version of btrfs-tools (from backports)
apt
:
pkg=btrfs-tools state=
installed
default_release=wheezy-backports
apt
:
pkg=btrfs-tools state=
present
default_release=wheezy-backports
-
name
:
Put rrsync in-place
copy
:
src=rrsync dest=/usr/local/bin/rrsync mode=0555
...
...
scanserver/tasks/main.yml
View file @
ac8612f7
-
name
:
Install sane utils
apt
:
pkg=sane-utils state=
installed
apt
:
pkg=sane-utils state=
present
-
name
:
Install propper udev rule
action
:
copy src=80-scanner-permissions.rules dest=/etc/udev/rules.d/80-scanner-permissions.rules
...
...
scanserver/tasks/scanbuttond.yml
View file @
ac8612f7
# scanbuttond do no longer exists in jessie
# replaced by scanbuttond but not working with my scanner
-
name
:
Install scanbuttond (wheezy version)
apt
:
deb='http://ftp.fr.debian.org/debian/pool/main/s/scanbuttond/scanbuttond_0.2.3.cvs20090713-8_armel.deb' state=
installed
apt
:
deb='http://ftp.fr.debian.org/debian/pool/main/s/scanbuttond/scanbuttond_0.2.3.cvs20090713-8_armel.deb' state=
present
# Prevent scanbuttond to be replaced with jessie dummy package
-
dpkg_selections
:
...
...
@@ -9,7 +9,7 @@
selection
:
hold
-
name
:
Install conversion tools
apt
:
pkg={{ item }} state=
installed
apt
:
pkg={{ item }} state=
present
with_items
:
-
libtiff-tools
-
imagemagick
...
...
transparency/tasks/main.yml
View file @
ac8612f7
-
name
:
install dependencies
apt
:
name={{ item }} force=yes state=
installed
apt
:
name={{ item }} force=yes state=
present
with_items
:
-
python
-
python-virtualenv
...
...
@@ -82,7 +82,7 @@
PATH
:
"
{{
transparency_venv_bin_path
}}:{{
ansible_env.PATH
}}"
-
name
:
install supervisor
apt
:
pkg=supervisor state=
installed
apt
:
pkg=supervisor state=
present
-
name
:
set supervisord config
template
:
src=supervisor.j2 dest=/etc/supervisor/conf.d/transparency.conf mode=644
...
...
vpn-client/tasks/main.yml
View file @
ac8612f7
-
name
:
Install openvpn package
apt
:
pkg=openvpn state=
installed
apt
:
pkg=openvpn state=
present
-
name
:
Puts the vpn conf in place
template
:
src=vpn-client.conf.j2 dest=/etc/openvpn/{{ vpn_name }}-client.conf
...
...
ympd/tasks/main.yml
View file @
ac8612f7
...
...
@@ -2,7 +2,7 @@
user
:
name={{ ympd_user }}
-
name
:
Install ympd build dependencies
apt
:
pkg={{ item }} state=
installed
update_cache=yes cache_valid_time=3600
apt
:
pkg={{ item }} state=
present
update_cache=yes cache_valid_time=3600
with_items
:
-
build-essential
-
cmake
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment