From 4dbb5ffeb28f418d49e829b91f7118ecb621dc9b Mon Sep 17 00:00:00 2001 From: flifloo Date: Tue, 17 May 2022 15:45:42 +0200 Subject: [PATCH] Some ansible lint fix --- ansistrano_tasks/configure.yml | 2 +- ansistrano_tasks/dependencies.yml | 10 +----- hosts.yml | 4 +-- playbook-app.yml | 6 ++-- roles/ansistrano.deploy/.travis.yml | 51 -------------------------- roles/apt/.travis.yml | 29 --------------- roles/apt/handlers/main.yml | 2 -- roles/apt/meta/main.yml | 55 +++++++---------------------- roles/apt/vars/main.yml | 2 -- roles/mariadb/.travis.yml | 29 --------------- roles/mariadb/handlers/main.yml | 2 -- roles/mariadb/meta/main.yml | 55 +++++++---------------------- roles/mariadb/vars/main.yml | 2 -- roles/nginx/.travis.yml | 29 --------------- roles/nginx/meta/main.yml | 55 +++++++---------------------- roles/nginx/tasks/main.yml | 5 +-- roles/nginx/vars/main.yml | 2 -- roles/nodejs/.travis.yml | 29 --------------- roles/nodejs/handlers/main.yml | 2 -- roles/nodejs/meta/main.yml | 55 +++++++---------------------- roles/nodejs/tasks/main.yml | 9 +++++ roles/nodejs/vars/main.yml | 2 -- roles/php/.travis.yml | 29 --------------- roles/php/handlers/main.yml | 2 -- roles/php/meta/main.yml | 55 +++++++---------------------- roles/php/vars/main.yml | 2 -- 26 files changed, 79 insertions(+), 446 deletions(-) delete mode 100644 roles/ansistrano.deploy/.travis.yml delete mode 100644 roles/apt/.travis.yml delete mode 100644 roles/apt/handlers/main.yml delete mode 100644 roles/apt/vars/main.yml delete mode 100644 roles/mariadb/.travis.yml delete mode 100644 roles/mariadb/handlers/main.yml delete mode 100644 roles/mariadb/vars/main.yml delete mode 100644 roles/nginx/.travis.yml delete mode 100644 roles/nginx/vars/main.yml delete mode 100644 roles/nodejs/.travis.yml delete mode 100644 roles/nodejs/handlers/main.yml delete mode 100644 roles/nodejs/vars/main.yml delete mode 100644 roles/php/.travis.yml delete mode 100644 roles/php/handlers/main.yml delete mode 100644 roles/php/vars/main.yml diff --git a/ansistrano_tasks/configure.yml b/ansistrano_tasks/configure.yml index 196c710..4361c73 100644 --- a/ansistrano_tasks/configure.yml +++ b/ansistrano_tasks/configure.yml @@ -1,6 +1,6 @@ --- - name: "Copy sample" - copy: + ansible.builtin.copy: src: "{{ ansistrano_release_path.stdout }}/includes/sys.config.sample.php" dest: "{{ ansistrano_release_path.stdout }}/includes/sys.config.php" remote_src: true diff --git a/ansistrano_tasks/dependencies.yml b/ansistrano_tasks/dependencies.yml index f2f1891..c58c85b 100644 --- a/ansistrano_tasks/dependencies.yml +++ b/ansistrano_tasks/dependencies.yml @@ -4,14 +4,6 @@ command: install working_dir: "{{ ansistrano_release_path.stdout }}" -- name: "Create npm home dir" - file: - path: "/var/www/.npm" - state: directory - owner: www-data - group: www-data - become_user: root - - name: "Install JS dependencies" community.general.npm: path: "{{ ansistrano_release_path.stdout }}" @@ -20,4 +12,4 @@ ansible.builtin.command: cmd: "./node_modules/gulp/bin/gulp.js build" chdir: "{{ ansistrano_release_path.stdout }}" - #Todo: creates: "" + creates: "{{ ansistrano_release_path.stdout }}/assets/css/main.css" diff --git a/hosts.yml b/hosts.yml index 7d6c5e4..f3e1a27 100644 --- a/hosts.yml +++ b/hosts.yml @@ -2,8 +2,8 @@ all: hosts: ubuntu: scope: "prod" - #ubuntu1: - # scope: "test" + # ubuntu1: + # scope: "test" vars: release: "r1335" db_name: "projectsend_{{ scope }}" diff --git a/playbook-app.yml b/playbook-app.yml index 607a0d6..94bf724 100644 --- a/playbook-app.yml +++ b/playbook-app.yml @@ -14,8 +14,8 @@ # Shared paths and basedir shared files creation. # By default the shared paths directories and base directories for shared files are created automatically if not exists. But in some scenarios those paths could be symlinks to another directories in the filesystem, and the deployment process would fails. With these variables you can disable the involved tasks. If you have two or three shared paths, and don't need creation only for some of them, you always could disable the automatic creation and add a custom task in a hook. - ansistrano_ensure_shared_paths_exist: yes - ansistrano_ensure_basedirs_shared_files_exist: yes + ansistrano_ensure_shared_paths_exist: true + ansistrano_ensure_basedirs_shared_files_exist: true # Deployment strategy - method used to deliver code. Options are copy, download, git, rsync, rsync_direct, svn, or s3. ansistrano_deploy_via: git @@ -23,7 +23,7 @@ # The rsync_direct strategy omits a file copy on the target offering a slight speed increase if you are deploying to shared hosts, are experiancing bad file-performance, or serve static assets from the same host you deploy your app to and rsync many files. # You can check all the options inside tasks/update-code folder! - ansistrano_allow_anonymous_stats: no + ansistrano_allow_anonymous_stats: false ansistrano_git_repo: "https://github.com/projectsend/projectsend.git" ansistrano_git_branch: master diff --git a/roles/ansistrano.deploy/.travis.yml b/roles/ansistrano.deploy/.travis.yml deleted file mode 100644 index d82f62b..0000000 --- a/roles/ansistrano.deploy/.travis.yml +++ /dev/null @@ -1,51 +0,0 @@ -language: python -services: - - docker - -env: - - ANSIBLE_VERSION: "2.9.27" - - ANSIBLE_VERSION: "2.10.7" - - ANSIBLE_VERSION: "3.4.0" - - ANSIBLE_VERSION: "4.10.0" - - distribution: Ubuntu - distribution_version: bionic - init: /lib/systemd/systemd - run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" - ANSIBLE_VERSION: docker - - distribution: Ubuntu - distribution_version: xenial - init: /lib/systemd/systemd - run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" - ANSIBLE_VERSION: docker - - distribution: Debian - distribution_version: buster - init: /lib/systemd/systemd - run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro" - ANSIBLE_VERSION: docker - -before_install: - # Standard Local Testing Commands - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then sudo apt-get -y install software-properties-common ; fi - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then sudo apt-get -y install python-pip ; fi - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then sudo pip install ansible==$ANSIBLE_VERSION ; fi - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then ansible --version ; fi - # Docker Testing pull container. - - if [ "${ANSIBLE_VERSION}" == "docker" ]; then docker pull ansiblecheck/ansiblecheck:${distribution,,}-${distribution_version} ; fi - - -script: - # Local Testing Commands - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then echo localhost > inventory ; fi - - if [ "${ANSIBLE_VERSION}" != "docker" ]; then ansible-playbook -i inventory --connection=local --become -v test/main.yml ; fi - - # Docker Testing Commands - - if [ "${ANSIBLE_VERSION}" == "docker" ]; then container_id=$(mktemp) ; fi - # Start The Built Container In The Background - - if [ "${ANSIBLE_VERSION}" == "docker" ]; then docker run --detach --volume="${PWD}":/etc/ansible/roles/role_under_test:ro ${run_opts} ansiblecheck/ansiblecheck:"${distribution,,}"-"${distribution_version}" "${init}" > "${container_id}" ; fi - # Ansible syntax check. - - if [ "${ANSIBLE_VERSION}" == "docker" ]; then docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/role_under_test/test/main.yml --syntax-check ; fi - # Test role. - - if [ "${ANSIBLE_VERSION}" == "docker" ]; then docker exec "$(cat ${container_id})" ansible-playbook /etc/ansible/roles/role_under_test/test/main.yml -v -e update_cache=1; fi - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/roles/apt/.travis.yml b/roles/apt/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/apt/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/apt/handlers/main.yml b/roles/apt/handlers/main.yml deleted file mode 100644 index 0944dbd..0000000 --- a/roles/apt/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for apt diff --git a/roles/apt/meta/main.yml b/roles/apt/meta/main.yml index c572acc..8ce6b90 100644 --- a/roles/apt/meta/main.yml +++ b/roles/apt/meta/main.yml @@ -1,52 +1,21 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Florian Charlaix + description: Install global dependency with APT + company: IUT Lyon 1 la Doua - # 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: None min_ansible_version: 2.1 - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: Debian + versions: + - 11 + - 12 + - name: Ubuntu + versions: + - 20.04.4 galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/apt/vars/main.yml b/roles/apt/vars/main.yml deleted file mode 100644 index f6e2657..0000000 --- a/roles/apt/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for apt diff --git a/roles/mariadb/.travis.yml b/roles/mariadb/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/mariadb/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/mariadb/handlers/main.yml b/roles/mariadb/handlers/main.yml deleted file mode 100644 index 49ba9f4..0000000 --- a/roles/mariadb/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for mariadb diff --git a/roles/mariadb/meta/main.yml b/roles/mariadb/meta/main.yml index c572acc..81459ac 100644 --- a/roles/mariadb/meta/main.yml +++ b/roles/mariadb/meta/main.yml @@ -1,52 +1,21 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Florian Charlaix + description: Install and setup MariaDB + company: IUT Lyon 1 la Doua - # 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: None min_ansible_version: 2.1 - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: Debian + versions: + - 11 + - 12 + - name: Ubuntu + versions: + - 20.04.4 galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/mariadb/vars/main.yml b/roles/mariadb/vars/main.yml deleted file mode 100644 index 618771d..0000000 --- a/roles/mariadb/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for mariadb diff --git a/roles/nginx/.travis.yml b/roles/nginx/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/nginx/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/nginx/meta/main.yml b/roles/nginx/meta/main.yml index c572acc..4c65d9d 100644 --- a/roles/nginx/meta/main.yml +++ b/roles/nginx/meta/main.yml @@ -1,52 +1,21 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Florian Charlaix + description: Install and setup Nginx + company: IUT Lyon 1 la Doua - # 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: None min_ansible_version: 2.1 - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: Debian + versions: + - 11 + - 12 + - name: Ubuntu + versions: + - 20.04.4 galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index 8644c62..d735e2a 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -21,7 +21,7 @@ - Reload Nginx - name: "Disable default" - file: + ansible.builtin.file: path: "/etc/nginx/sites-enabled/default" state: absent notify: @@ -36,8 +36,9 @@ - Reload Nginx - name: "Create base dir" - file: + ansible.builtin.file: path: "/var/www/{{ scope }}" owner: www-data group: www-data + mode: "0750" state: directory diff --git a/roles/nginx/vars/main.yml b/roles/nginx/vars/main.yml deleted file mode 100644 index d45faf6..0000000 --- a/roles/nginx/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for nginx diff --git a/roles/nodejs/.travis.yml b/roles/nodejs/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/nodejs/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/nodejs/handlers/main.yml b/roles/nodejs/handlers/main.yml deleted file mode 100644 index 7c65bbd..0000000 --- a/roles/nodejs/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for nodejs diff --git a/roles/nodejs/meta/main.yml b/roles/nodejs/meta/main.yml index c572acc..cbec01d 100644 --- a/roles/nodejs/meta/main.yml +++ b/roles/nodejs/meta/main.yml @@ -1,52 +1,21 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Florian Charlaix + description: Install NodeJS and NPM + company: IUT Lyon 1 la Doua - # 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: None min_ansible_version: 2.1 - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: Debian + versions: + - 11 + - 12 + - name: Ubuntu + versions: + - 20.04.4 galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/nodejs/tasks/main.yml b/roles/nodejs/tasks/main.yml index 179bc64..c71fcdf 100644 --- a/roles/nodejs/tasks/main.yml +++ b/roles/nodejs/tasks/main.yml @@ -6,3 +6,12 @@ - npm update_cache: true cache_valid_time: 86400 + +- name: "Create npm home dir for www-data" + ansible.builtin.file: + path: "/var/www/.npm" + state: directory + owner: www-data + group: www-data + mode: "0750" + become_user: root diff --git a/roles/nodejs/vars/main.yml b/roles/nodejs/vars/main.yml deleted file mode 100644 index 6422ced..0000000 --- a/roles/nodejs/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for nodejs diff --git a/roles/php/.travis.yml b/roles/php/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/php/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/php/handlers/main.yml b/roles/php/handlers/main.yml deleted file mode 100644 index 8b978ea..0000000 --- a/roles/php/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for php diff --git a/roles/php/meta/main.yml b/roles/php/meta/main.yml index c572acc..1e6650a 100644 --- a/roles/php/meta/main.yml +++ b/roles/php/meta/main.yml @@ -1,52 +1,21 @@ galaxy_info: - author: your name - description: your role description - company: your company (optional) + author: Florian Charlaix + description: Install and setup PHP + company: IUT Lyon 1 la Doua - # 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: None min_ansible_version: 2.1 - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 + platforms: + - name: Debian + versions: + - 11 + - 12 + - name: Ubuntu + versions: + - 20.04.4 galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. diff --git a/roles/php/vars/main.yml b/roles/php/vars/main.yml deleted file mode 100644 index be45ded..0000000 --- a/roles/php/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for php