Compare commits
No commits in common. "master" and "v1.0.0" have entirely different histories.
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,16 +1,4 @@
|
||||||
## v1.0.2
|
## v1.0
|
||||||
|
|
||||||
### Fix
|
|
||||||
* Use flatten to manage packages list.
|
|
||||||
|
|
||||||
## v1.0.1
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
* Use to_nice_json to manage packages list.
|
|
||||||
* Set empty dependencies line to fix Galaxy warning.
|
|
||||||
* Retries packages installation.
|
|
||||||
|
|
||||||
## v1.0.0
|
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Install debsecan
|
* Install debsecan
|
||||||
|
|
|
@ -61,7 +61,7 @@ Jérémy Gardais
|
||||||
* [IPR][ipr website] (Institut de Physique de Rennes)
|
* [IPR][ipr website] (Institut de Physique de Rennes)
|
||||||
|
|
||||||
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
[gogs to github hook]: https://stackoverflow.com/a/21998477
|
||||||
[debian_security source]: https://git.ipr.univ-rennes.fr/cellinfo/ansible.debian_security
|
[debian_security source]: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.debian_security
|
||||||
[debian_security github]: https://github.com/ipr-cnrs.debian_security
|
[debian_security github]: https://github.com/ipr-cnrs.debian_security
|
||||||
[wtfpl website]: http://www.wtfpl.net/about/
|
[wtfpl website]: http://www.wtfpl.net/about/
|
||||||
[ipr website]: https://ipr.univ-rennes1.fr/
|
[ipr website]: https://ipr.univ-rennes1.fr/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# List of base packages to install.
|
# List of base packages to install.
|
||||||
deb_sec__required_packages:
|
deb_sec__required_packages:
|
||||||
- debsecan
|
- 'debsecan'
|
||||||
# ]]]
|
# ]]]
|
||||||
# .. envvar:: deb_sec__deploy_state [[[
|
# .. envvar:: deb_sec__deploy_state [[[
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,19 +1,14 @@
|
||||||
---
|
|
||||||
|
|
||||||
dependencies: []
|
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: "Jérémy Gardais"
|
author: "Jérémy Gardais"
|
||||||
description: "Tools and configuration to secure Debian system"
|
description: "Tools and configuration to secure Debian system"
|
||||||
license: WTFPL
|
license: WTFPL
|
||||||
company: IPR
|
company: IPR
|
||||||
issue_tracker_url: https://git.ipr.univ-rennes.fr/cellinfo/ansible.debian_security/issues
|
issue_tracker_url: https://git.ipr.univ-rennes1.fr/cellinfo/ansible.debian_security/issues
|
||||||
min_ansible_version: 2.7
|
min_ansible_version: 2.5
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- stretch
|
- stretch
|
||||||
- buster
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- debian
|
- debian
|
||||||
- security
|
- security
|
||||||
|
|
|
@ -6,13 +6,12 @@
|
||||||
# Manage required system packages [[[1
|
# Manage required system packages [[[1
|
||||||
- name: Ensure required packages are in there desired state
|
- name: Ensure required packages are in there desired state
|
||||||
package:
|
package:
|
||||||
name: '{{ (deb_sec__required_packages | flatten) }}'
|
name: '{{ item }}'
|
||||||
state: '{{ "present" if (deb_sec__deploy_state == "present")
|
state: '{{ "present" if (deb_sec__deploy_state == "present")
|
||||||
else "absent" }}'
|
else "absent" }}'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
register: pkg_result
|
with_flattened:
|
||||||
until: pkg_result is success
|
- '{{ deb_sec__required_packages }}'
|
||||||
|
|
||||||
# Debsecan [[[1
|
# Debsecan [[[1
|
||||||
# Configuration [[[
|
# Configuration [[[
|
||||||
- name: Debsecan configuration
|
- name: Debsecan configuration
|
||||||
|
|
Loading…
Reference in New Issue