]> git.immae.eu Git - github/fretlink/ansible-clever.git/log
github/fretlink/ansible-clever.git
5 years agofix: clever_app_root is provided & exec is outside of "parent dir" 15/head
Paul Bonaud [Mon, 5 Nov 2018 09:21:02 +0000 (10:21 +0100)] 
fix: clever_app_root is provided & exec is outside of "parent dir"

Imagine such a usecase:
- project is in `/project`
- executing Ansible in `/ansible` with `clever_app_root: /project`
will fail deploying with the git push with the following error:
```
Not a git repository (or any of the parent directories): .git"
```

This PR fixes this.

5 years agoMerge pull request #14 from paulrbr-fl/rename-syslog-server-var v1.5
paulrbr-fl [Thu, 4 Oct 2018 14:09:57 +0000 (16:09 +0200)] 
Merge pull request #14 from paulrbr-fl/rename-syslog-server-var

vars: add a clever_syslog_server variable replacing syslog_server

5 years agovars: add a clever_syslog_server variable replacing syslog_server 14/head
Paul Bonaud [Thu, 4 Oct 2018 13:51:04 +0000 (15:51 +0200)] 
vars: add a clever_syslog_server variable replacing syslog_server

All variables "namespaced" with the role name is helpful to read
"client" configurations

5 years agoMerge pull request #13 from paulrbr-fl/prefix-domain-variable v1.4
paulrbr-fl [Fri, 28 Sep 2018 09:31:35 +0000 (11:31 +0200)] 
Merge pull request #13 from paulrbr-fl/prefix-domain-variable

domain: allow the domain to be specified via clever_domain variable

5 years agodomain: allow the domain to be specified via clever_domain variable 13/head
Paul Bonaud [Fri, 28 Sep 2018 09:14:12 +0000 (11:14 +0200)] 
domain: allow the domain to be specified via clever_domain variable

Every other variables are prefixed with `clever_` which makes the
definition of variables clearer from a "app" configuration point of
view.

WDYT?

5 years agoMerge pull request #12 from paulrbr-fl/first-time-deploy v1.3
paulrbr-fl [Fri, 21 Sep 2018 12:03:39 +0000 (14:03 +0200)] 
Merge pull request #12 from paulrbr-fl/first-time-deploy

deploy: Make sure repo is unshallow copy before pushing to clever

5 years agodeploy: Make sure repo is unshallow copy before pushing to clever 12/head
Paul Bonaud [Fri, 21 Sep 2018 11:36:40 +0000 (13:36 +0200)] 
deploy: Make sure repo is unshallow copy before pushing to clever

If your build tool only uses a shallow clone of your project, Clever
cloud will fail on first time git push. You need to git push a full
clone of your git repo for the first time deployment to clever.

This PR fixes that.

5 years agoMerge pull request #11 from gaetanfl/lint
Gaëtan [Fri, 21 Sep 2018 11:47:19 +0000 (13:47 +0200)] 
Merge pull request #11 from gaetanfl/lint

add ansible-lint test and fix warning

5 years agoInstall ansible-lint 11/head
Gaëtan Duchaussois [Fri, 21 Sep 2018 10:35:34 +0000 (12:35 +0200)] 
Install ansible-lint

5 years agoadd ansible-lint test and fix warning
Gaëtan Duchaussois [Fri, 21 Sep 2018 10:25:48 +0000 (12:25 +0200)] 
add ansible-lint test and fix warning

5 years agoMerge pull request #10 from paulrbr-fl/python3-compat v1.2
paulrbr-fl [Fri, 21 Sep 2018 09:09:32 +0000 (11:09 +0200)] 
Merge pull request #10 from paulrbr-fl/python3-compat

python3: Change iteritems() to items() to be compatible with py3

5 years agopython3: Change iteritems() to items() to be compatible with py3 10/head
Paul Bonaud [Fri, 21 Sep 2018 09:05:47 +0000 (11:05 +0200)] 
python3: Change iteritems() to items() to be compatible with py3

5 years agowarnings: Remove warning given by Ansible 2.5
Paul Bonaud [Fri, 21 Sep 2018 09:04:50 +0000 (11:04 +0200)] 
warnings: Remove warning given by Ansible 2.5

```
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|failed` instead
use `result is failed`. This feature will be removed in version 2.9. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
```

5 years agoMerge pull request #9 from paulrbr-fl/ci-status-img
paulrbr-fl [Thu, 20 Sep 2018 15:36:29 +0000 (17:36 +0200)] 
Merge pull request #9 from paulrbr-fl/ci-status-img

readme: Add the CI status as a image badge

5 years agoreadme: Add the CI status as a image badge 9/head
Paul Bonaud [Thu, 20 Sep 2018 15:31:15 +0000 (17:31 +0200)] 
readme: Add the CI status as a image badge

5 years agoMerge pull request #8 from fmenou/nix
Frédéric Menou [Mon, 9 Jul 2018 09:58:08 +0000 (11:58 +0200)] 
Merge pull request #8 from fmenou/nix

Use Nix for build

5 years agoUse Nix for build 8/head
Frédéric Menou [Sun, 8 Jul 2018 01:08:41 +0000 (03:08 +0200)] 
Use Nix for build

6 years agoUpdate Travis-Slack integration
Frédéric Menou [Wed, 18 Apr 2018 13:48:19 +0000 (15:48 +0200)] 
Update Travis-Slack integration

6 years agoMerge pull request #7 from fmenou/better-wait-deploy v1.1
Frédéric Menou [Fri, 30 Mar 2018 21:48:43 +0000 (23:48 +0200)] 
Merge pull request #7 from fmenou/better-wait-deploy

Better wait deploy - take #2

6 years agoWatch and wait for Clever 7/head
Frédéric Menou [Fri, 30 Mar 2018 14:38:27 +0000 (16:38 +0200)] 
Watch and wait for Clever

6 years agoFix typo
Frédéric Menou [Wed, 28 Mar 2018 08:14:55 +0000 (10:14 +0200)] 
Fix typo

6 years agoMerge pull request #5 from fmenou/metrics-support v1.0
Frédéric Menou [Wed, 28 Feb 2018 13:35:53 +0000 (14:35 +0100)] 
Merge pull request #5 from fmenou/metrics-support

Fix bool dump

6 years agoFix bool dump 5/head
Frédéric Menou [Wed, 28 Feb 2018 12:41:53 +0000 (13:41 +0100)] 
Fix bool dump

6 years agoMerge pull request #4 from fmenou/metrics-support
Gaëtan [Wed, 28 Feb 2018 08:12:36 +0000 (09:12 +0100)] 
Merge pull request #4 from fmenou/metrics-support

Metrics support

6 years agoMissed renamed dict 4/head
Frédéric Menou [Tue, 27 Feb 2018 16:23:07 +0000 (17:23 +0100)] 
Missed renamed dict

6 years agoENABLE_METRICS => clever_metrics ; default to false
Frédéric Menou [Tue, 27 Feb 2018 16:22:49 +0000 (17:22 +0100)] 
ENABLE_METRICS => clever_metrics ; default to false

6 years agoMerge pull request #3 from fmenou/slack-notifications
Frédéric Menou [Tue, 27 Feb 2018 15:51:02 +0000 (16:51 +0100)] 
Merge pull request #3 from fmenou/slack-notifications

Notify the #machine-room Slack channel

6 years agoFix Travis setup 3/head
Frédéric Menou [Tue, 27 Feb 2018 15:34:11 +0000 (16:34 +0100)] 
Fix Travis setup

6 years agoUnrelevant webhook for private project
Frédéric Menou [Tue, 27 Feb 2018 15:28:50 +0000 (16:28 +0100)] 
Unrelevant webhook for private project

Might be useful if we open-source it.

6 years agoNotify the #machine-room Slack channel
Frédéric Menou [Tue, 27 Feb 2018 15:23:28 +0000 (16:23 +0100)] 
Notify the #machine-room Slack channel

6 years agoMerge pull request #2 from gaetanfl/improve_cleverness
Gaëtan [Tue, 27 Feb 2018 15:10:14 +0000 (16:10 +0100)] 
Merge pull request #2 from gaetanfl/improve_cleverness

Make the role more clever friendly

6 years agodefine safe default variable for clever and rename clever_app_tasks to clever_app_tas... 2/head
Gaëtan Duchaussois [Mon, 26 Feb 2018 09:54:37 +0000 (10:54 +0100)] 
define safe default variable for clever and rename clever_app_tasks to clever_app_tasks_file

6 years agoMerge pull request #1 from gaetanfl/first_try
Gaëtan [Fri, 23 Feb 2018 17:10:48 +0000 (18:10 +0100)] 
Merge pull request #1 from gaetanfl/first_try

Migrating single tasks file to a galaxy role

6 years agoadd travis file 1/head
Gaëtan Duchaussois [Thu, 22 Feb 2018 13:01:02 +0000 (14:01 +0100)] 
add travis file

6 years agoMigrating single tasks file to a galaxy role
Gaëtan Duchaussois [Thu, 22 Feb 2018 10:53:19 +0000 (11:53 +0100)] 
Migrating single tasks file to a galaxy role

6 years agoInitial commit
Gaëtan [Thu, 22 Feb 2018 10:36:10 +0000 (11:36 +0100)] 
Initial commit