Skip to content

Commit

Permalink
ansible-lint nos arquivos
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jul 1, 2019
1 parent bf74f76 commit 0460415
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 26 deletions.
2 changes: 1 addition & 1 deletion 1-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

roles:
- common
- 1-node-testserver
- 1-node-tsuru-docker
# - mysql
# - nginx
# - php-fpm
Expand Down
25 changes: 8 additions & 17 deletions roles/1-node-tsuru-docker/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
galaxy_info:
author: your name
description: your description
company: your company (optional)
author: Emerson Rocha
description: Tsuru PaaS usando docker (sem Kubernetes) com auto-SSL feita por OpenResty + Lua-Resty-autossl
company: Etica.AI

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker

# Choose a valid license ID from https://spdx.org - some suggested licenses:
# - BSD-3-Clause (default)
# - MIT
# - GPL-2.0-or-later
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Unlicense

min_ansible_version: 2.4

Expand All @@ -27,7 +16,10 @@ galaxy_info:
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
# platforms:
platforms:
- name: Ubuntu
versions:
- bionic
# - name: Fedora
# versions:
# - all
Expand All @@ -50,4 +42,3 @@ galaxy_info:
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

6 changes: 5 additions & 1 deletion roles/1-node-tsuru-docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
# tasks file for 1-node-testserver
# @see https://docs.ansible.com/ansible/latest/modules/apt_module.html

- name: Include a play after another play
- name: Instalação de OpenResty, Lua Rest & Lua Resty AutoSSL (faz o HTTPS para os Apps)
include: openresty-luarocks-lua-resty-auto-ssl-install.yml

- name: Requerimentos do Tsuru caso seja instalado diretamente na VPS
include: tsuru-requeriments-if-direct-on-vps.yml

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# openresty-luarocks-lua-resty-auto-ssl-install.yml


- name: software-properties-common é requerido pelo PPA de OpenResty
apt:
name: software-properties-common
8 changes: 5 additions & 3 deletions roles/common/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
galaxy_info:
author: Emerson Rocha
description: your description
description: Funções comuns que todas as variantes do Águia Pescadora requerem
company: Etica.AI

license: Unlicense
Expand All @@ -16,7 +16,10 @@ galaxy_info:
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
# platforms:
platforms:
- name: Ubuntu
versions:
- bionic
# - name: Fedora
# versions:
# - all
Expand All @@ -39,4 +42,3 @@ galaxy_info:
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

8 changes: 4 additions & 4 deletions roles/common/tasks/temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
update_cache: yes
cache_valid_time: 3600

- name: Upgrade all packages to the latest version
apt:
name: "*"
state: latest
#- name: Upgrade all packages to the latest version
# apt:
# name: "*"
# state: latest

- name: Install the package "net-tools" (requre)
apt:
Expand Down

0 comments on commit 0460415

Please sign in to comment.