Commit graph

42 commits

Author SHA1 Message Date
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
David Prevot a1bad43b25 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
Jérémy Lecour 28540247f0 Add signed-by option for additional APT sources
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 23:17:08 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
Jérémy Lecour ca1f465aaa nodejs: default to version 16 LTS 2022-01-12 13:04:22 +01:00
Jérémy Lecour 29ec7bdcf2 Remove embedded GPG keys only if legacy keyring is present
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2021-07-04 22:08:47 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour ca40fad186 nodejs: change GPG key name
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 11:19:26 +02:00
Jérémy Lecour 856d11aced nodejs: update apt cache before installing the package 2021-06-07 13:03:18 +02:00
Jérémy Lecour 454d4c6d30 explicit permissions for APT GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-26 13:47:34 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 58bf79218f remove apt keys specifically from embedded database 2021-05-06 13:43:59 +02:00
Jérémy Lecour 7d08b0a30a rename the tasks for embedded GPG keys
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 11:33:19 +02:00
Jérémy Lecour 83705a48b8 remove key from trusted.gpg only if file is present
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-06 10:42:12 +02:00
Jérémy Lecour 9cdddd50a8 Move all trusted GPG keys to file repository
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-03 14:23:13 +02:00
Ludovic Poujol c7c75d3206 Nodejs : Update yarn gpg repo key
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-11 10:07:05 +01:00
Jérémy Lecour ac6414076c nodejs: change default version to 12 (new LTS) 2020-03-09 17:02:23 +01:00
Patrick Marchand fefd10ae2a The GPG key for yarn changed
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-11 10:20:12 -05:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Ludovic Poujol 67d7458ba6 nodejs: Update yarn repo GPG key (current key expired)
Ref: https://github.com/yarnpkg/yarn/issues/6865
2019-01-09 10:49:20 +01:00
Jérémy Lecour 2c9acfb12d nodejs: extract yarn tasks in a file 2018-04-06 09:19:36 +02:00
Ludovic Poujol 6a14904227 nodejs: install yarn optionaly with var (default: ) 2018-04-04 10:15:51 +02:00
Gregory Colpart 01379f5a29 follow https://wiki.evolix.org/HowtoNodeJS and default to node_8.x version 2018-02-27 00:12:50 +01:00
Bruno TATU 26f3814254 Revert "nodejs: add 3 tasks + install procedure"
This reverts commit cff9900d94.
2018-02-01 12:00:41 +01:00
Bruno TATU b1cd390fb3 remove playbook exemple 2018-02-01 12:00:36 +01:00
Bruno TATU cc557f14c1 nodejs: add playbook example 2018-02-01 10:50:44 +01:00
Bruno TATU cff9900d94 nodejs: add 3 tasks + install procedure 2018-02-01 10:49:17 +01:00
Ludovic Poujol 806df7d77a nodejs: remove useless .list so we don't have nodesource.list.list 2017-12-13 15:41:45 +01:00
Gregory Colpart 8e0aa59e47 download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
Jérémy Lecour 7698b6ad9a nodejs: fix a typo in README 2017-06-13 09:28:09 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Jérémy Lecour 85edc60056 nodejs: apt sources in custom file 2017-05-23 15:13:36 +02:00
Victor LABORIE fa1c9b9d77 nodejs: update cache only on repository change 2017-05-03 17:15:52 +02:00
Jérémy Lecour 33314828b1 Change Ansible version used by ansible-kitchen 2017-04-19 17:48:02 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
Jérémy Lecour 00f7e43e3e Node: support Stretch (to be verified) 2017-03-17 09:55:39 +01:00
Gabriel Périard-Tremblay 9baf84736c Add max_ssh_sessions to .kitchen as a workaround 2017-03-13 14:42:02 -04:00
Gabriel Périard-Tremblay bcb740d3d1 Update test kitchen configuration and directory layout 2017-02-27 15:49:10 -05:00
Gabriel Périard-Tremblay fd77649cb9 Add basic kitchen test files to nginx, apache and nodejs roles 2017-02-27 11:18:37 -05:00
Jérémy Lecour 478e9a8272 replace "state: installed" with "state: present" 2017-01-12 17:37:48 +01:00
Jérémy Lecour 61f5219f48 Improve documentation
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00