Datasets:
unit_type string | repo_path string | commit_id string | stars int32 | unit_prefix string | shard int32 | license_types list | files list | quality dict | flags dict |
|---|---|---|---|---|---|---|---|---|---|
ansible_role | Valops/TP2-WordpressAsCode-Ansible | 4be33be68c951fdae7de6f04fa9da3b5d76f7901 | 0 | roles/apache | 179 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/main.yml",
"content": "- name: Installation Packet Apache\n apt: name=apache2 update_cache=yes state=latest\n \n- name: Démarre apache2 Service\n systemd: name=apache2 state=started enabled=yes\n\n#- name: Enable the Apache2 module wsgi\n# community.general.apache2_module:\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1248,
"all_permissive": false
} |
ansible_role | Valops/TP2-WordpressAsCode-Ansible | 4be33be68c951fdae7de6f04fa9da3b5d76f7901 | 0 | roles/mysql | 179 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "# Configuration Mysql\n - name: Installation paquet MySQL \"MariaDB\"\n apt: name={{ item }} update_cache=yes state=latest\n loop: [ 'mariadb-server', 'php-mysqlnd', 'python3-pymysql' ]\n \n - name: Démarre Service Mariadb\n systemd: n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1371,
"all_permissive": false
} |
ansible_role | Valops/TP2-WordpressAsCode-Ansible | 4be33be68c951fdae7de6f04fa9da3b5d76f7901 | 0 | roles/php | 179 | [
"no_license"
] | [
{
"path": "roles/php/tasks/main.yml",
"content": "\n- name: Installation prerequis\n apt:\n name:\n - php\n - php-pdo\n - php-mysql\n - php-zip\n - php-gd\n - php-mbstring\n - php-curl\n - php-xml\n - php-pear\n - php-bcmath\n state: latest\n updat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 377,
"all_permissive": false
} |
ansible_role | Valops/TP2-WordpressAsCode-Ansible | 4be33be68c951fdae7de6f04fa9da3b5d76f7901 | 0 | roles/wordpress | 179 | [
"no_license"
] | [
{
"path": "roles/wordpress/tasks/main.yml",
"content": "# Configuration Wordpress\n \n - name: Télécharge et dézippe la dernière version de WORDPRESS\n unarchive:\n src: https://wordpress.org/latest.tar.gz\n dest: \"/var/www/{{ http_host }}\"\n remote_src: yes\n creates: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1985,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/C | 179 | [
"no_license"
] | [
{
"path": "roles/C/tasks/main.yml",
"content": "---\n\n- name: Install C/C++ packages\n become: true\n ansible.builtin.package:\n name:\n - \"{{ 'build-essential' if ansible_pkg_mgr == 'apt' else '@Development tools' }}\"\n - gdb\n - clang\n - lldb\n - cmake\n state: latest"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 246,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/cli_tools | 179 | [
"no_license"
] | [
{
"path": "roles/cli_tools/tasks/main.yml",
"content": "---\n\n- name: Install cargo packages\n community.general.cargo:\n name: \"{{ item }}\"\n loop:\n - eza\n - git-delta\n - bat\n - ripgrep\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 144
},
{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 178,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/common | 179 | [
"no_license"
] | [
{
"path": "roles/common/files/.gitconfig",
"content": "[user]\n\temail = <EMAIL>\n\tname = Sakurai\n[core]\n\tautocrlf = false\n\teditor = vim\n\tquotepath = false # 日本語ファイルの文字化け防止\n\tignorecase = false # ファイルの大文字小文字を区別する\n\t# pager = delta\n[color]\n\tui = auto\n[credential]\n\thelper = cache\n[help]\n\tau... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2069,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/fzf | 179 | [
"no_license"
] | [
{
"path": "roles/fzf/files/.zsh/conf.d/fzf.zsh",
"content": "if [ -d \"$HOME/.fzf\" ] ; then\n export PATH=\"$HOME/.fzf/bin:$PATH\"\nfi\n\n# Auto-completion\n# ---------------\n[[ $- == *i* ]] && source \"$HOME/.fzf/shell/completion.zsh\" 2> /dev/null\n\n\n# Key bindings\n# ------------\nsource \"$HOME/.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 3628,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/go | 179 | [
"no_license"
] | [
{
"path": "roles/go/tasks/main.yml",
"content": "---\n\n- name: Check if go {{ go_version }} is installed\n ansible.builtin.shell:\n \"mise list golang | grep {{ go_version }}\"\n register: go_exists\n ignore_errors: true\n\n- name: Install go {{ go_version }}\n when: go_exists is failed\n ansible.b... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 479,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/mise | 179 | [
"no_license"
] | [
{
"path": "roles/mise/tasks/main.yml",
"content": "---\n\n- name: Check if mise is installed\n ansible.builtin.shell: \"command -v mise\"\n register: mise_exists\n ignore_errors: true\n\n- name: Install mise\n when: mise_exists is failed\n ansible.builtin.shell: \"curl https://mise.run | sh\"\n\n- name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 467,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/neovim | 179 | [
"no_license"
] | [
{
"path": "roles/neovim/tasks/main.yml",
"content": "---\n\n- name: Install neovim\n become: true\n ansible.builtin.package:\n name: neovim\n state: latest\n\n- name: Create ~/.config/nvim\n ansible.builtin.file:\n path: \"{{ home }}/.config/nvim\"\n state: directory\n mode: \"0755\"\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1823,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/rust | 179 | [
"no_license"
] | [
{
"path": "roles/rust/tasks/main.yml",
"content": "---\n\n- name: Check if cargo is installed\n ansible.builtin.shell: command -v cargo\n register: cargo_exists\n ignore_errors: true\n\n- name: Download Rust installer\n when: cargo_exists is failed\n ansible.builtin.get_url:\n url: https://sh.rustup... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 929,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/tmux | 179 | [
"no_license"
] | [
{
"path": "roles/tmux/tasks/main.yml",
"content": "---\n\n- name: Install tmux\n become: true\n ansible.builtin.package:\n name: tmux\n state: latest\n\n- name: Create ~/.tmux/plugins/tpm\n ansible.builtin.file:\n path: \"{{ home }}/.tmux/plugins/tpm\"\n state: directory\n mode: '0755'\n\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1108,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/uv | 179 | [
"no_license"
] | [
{
"path": "roles/uv/files/.zsh/conf.d/uv.zsh",
"content": "# ====== Load uv ======\nif [ -d \"$HOME/.local/bin/uv\" ] ; then\n eval \"$(uv generate-shell-completion zsh)\"\n eval \"$(uvx --generate-shell-completion zsh)\"\nfi\n# ====== ====== ======\n",
"license_type": "no_license",
"detected_lice... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 647,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/vim | 179 | [
"no_license"
] | [
{
"path": "roles/vim/files/.vim/vimrc",
"content": "set encoding=utf-8\n\n\nset title\nset number\n\nset expandtab\nset tabstop=4\nset shiftwidth=4\nset autoindent\n\nset cursorline\nset ruler\n\nset hlsearch\nset ignorecase\nset incsearch\n",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 522,
"all_permissive": false
} |
ansible_role | Sakurai00/dotfiles | f44021e8840bf805dfdb90f72b566a472e811a8b | 0 | roles/zsh | 179 | [
"no_license"
] | [
{
"path": "roles/zsh/files/.zsh/.zshrc",
"content": "# ====== Load conf.d ======\nfor file in $(find $ZDOTDIR/conf.d -name \"*.zsh\" | sort); do\n source $file\ndone\n# ====== ====== ======\n\n\nautoload -U colors && colors\neval \"$(dircolors -b ~/.zsh/.dircolors)\"\n\n\n# 補完\nsetopt menu_complete # 補完の即時... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 8,
"total_bytes": 5210,
"all_permissive": false
} |
ansible_role | Revanth264/Ansible-Apache-Setup | 2bf6396407eac854578e4436a2e4be8a600dfcbb | 0 | roles/apache | 179 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/main.yml",
"content": "---\n- name: Install Apache\n apt:\n name: apache2\n state: present\n\n- name: Start and Enable Apache\n service:\n name: apache2\n state: started\n enabled: yes\n\n- name: Deploy Custom HTML File\n template:\n src: index.html\n de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 269,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/iosxe_mdp | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/iosxe_mdp/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustrat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1262,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/netconf_l3_interfaces | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/netconf_l3_interfaces/files/ietf_interface_template.j2",
"content": "<config>\n <interfaces xmlns=\"urn:ietf:params:xml:ns:yang:ietf-interfaces\">\n <interface>\n <name>{{item.interface_type}}{{item.interface_id}}</name>\n <description>{{item.descripti... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1638,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/netconf_ospf | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/netconf_ospf/files/ned_ospf.j2",
"content": "<config>\n <native xmlns=\"http://cisco.com/ns/yang/Cisco-IOS-XE-native\">\n <router>\n <ospf xmlns=\"http://cisco.com/ns/yang/Cisco-IOS-XE-ospf\">\n <id>{{ ospf.process_id }}</id>\n <router-id>{{ o... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1195,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_hsrp | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_hsrp/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustrat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 638,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_l3_interfaces | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_l3_interfaces/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1458,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_nxapi | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_nxapi/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustra... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 414,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_ospf | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_ospf/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustrat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 780,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_po_trunks | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_po_trunks/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1484,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_vlans | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_vlans/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustra... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1011,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_vpc | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_vpc/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Illustrate... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2280,
"all_permissive": false
} |
ansible_role | CiscoDevNet/netprog_basics | a8c75a16c30889f723d094e8df0bb5decb06f0f7 | 759 | netdevops/ansible_part_3/roles/nxos_vpc_trunks | 179 | [
"no_license"
] | [
{
"path": "netdevops/ansible_part_3/roles/nxos_vpc_trunks/tasks/main.yaml",
"content": "##############################################################\n# Learning Series: Network Programmability Basics\n# Module: NetDevOps\n# Lesson: Ansible Part 3: Your Network as Code\n# Author: <NAME> <<EMAIL>>\n#\n# Ill... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1635,
"all_permissive": false
} |
ansible_role | sihabulhasan/webuzo-install-ansible-script | 72b9f5b67db4076c39c73ca7e6419bdd07fd7cb3 | 1 | roles/csf | 139 | [
"no_license"
] | [
{
"path": "roles/csf/tasks/csf-configure.yaml",
"content": "---\n - name: CSF | disable firewall testing mode on CSF config\n lineinfile:\n dest: \"/etc/csf/csf.conf\"\n regexp: \"^TESTING =\"\n line: 'TESTING = \"0\"'\n notify: \n - Restart CSF\n - Restart LFD\n - name: CSF... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 3923,
"all_permissive": false
} |
ansible_role | sihabulhasan/webuzo-install-ansible-script | 72b9f5b67db4076c39c73ca7e6419bdd07fd7cb3 | 1 | roles/softaculous-configuration | 139 | [
"no_license"
] | [
{
"path": "roles/softaculous-configuration/tasks/main.yaml",
"content": "---\n - name: Copy custom configuration file\n ansible.builtin.copy:\n src: roles/softaculous-configuration/files/universal.custom.php\n dest: /usr/local/softaculous/enduser/\n - name: Disable Outdated Scripts\n # Ref... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1698,
"all_permissive": false
} |
ansible_role | sihabulhasan/webuzo-install-ansible-script | 72b9f5b67db4076c39c73ca7e6419bdd07fd7cb3 | 1 | roles/webuzo | 139 | [
"no_license"
] | [
{
"path": "roles/webuzo/tasks/main.yaml",
"content": "---\n - name: Check wheather webuzo is installed\n stat:\n path: '/usr/local/webuzo'\n register: webuzo_check\n check_mode: no\n failed_when: false\n changed_when: false\n\n - name: Register webuzo_installed variable\n set_fact:\... | {
"task_files": 7,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 9,
"total_bytes": 7360,
"all_permissive": false
} |
ansible_role | Oleh98Hordon/ansible-wireguard | 02ed1d458de8dc498dc0647bafb76357342d49f1 | 0 | roles/wireguard | 139 | [
"no_license"
] | [
{
"path": "roles/wireguard/tasks/main.yml",
"content": "---\n#\n\n- name: Create /etc/wireguard directory\n file:\n path: \"{{ wireguard_path }}\"\n state: directory\n owner: root\n group: root\n mode: 0600\n\n- name: Determine the running kernel release\n command: uname -r\n register: ker... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1925,
"all_permissive": false
} |
ansible_role | PascalSMACCHIA/Udemy-AWS-Management | 35cf5745dd8e5087064524f0edb78a4e277389e3 | 0 | roles/Get-GitHub-Repository | 139 | [
"no_license"
] | [
{
"path": "roles/Get-GitHub-Repository/defaults/main.yml",
"content": "---\n# defaults file for Get-GitHub-Repository",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 45
},
{
"path": "roles/Get-GitHub-Repository/vars/main.yml",
"content": "---\n# vars file for G... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 2027,
"all_permissive": false
} |
ansible_role | PascalSMACCHIA/Udemy-AWS-Management | 35cf5745dd8e5087064524f0edb78a4e277389e3 | 0 | roles/flask_web | 139 | [
"no_license"
] | [
{
"path": "roles/flask_web/tasks/main.yml",
"content": "\n - name: Install Python Flask dependencies\n pip:\n name: '{{ item }}'\n state: present\n with_items:\n - flask\n - flask-mysql\n\n - name: Copy web-server code\n copy: src=./SourceCode/app.py dest=/opt/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 367,
"all_permissive": false
} |
ansible_role | PascalSMACCHIA/Udemy-AWS-Management | 35cf5745dd8e5087064524f0edb78a4e277389e3 | 0 | roles/python | 139 | [
"no_license"
] | [
{
"path": "roles/python/tasks/main.yml",
"content": " - name: Update Ubuntu System\n apt:\n update_cache: yes\n upgrade: dist \n\n - name: Install dependencies\n apt: name={{ item }} state=installed\n with_items:\n - python\n - python-setuptools\n - pyth... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 321,
"all_permissive": false
} |
ansible_role | YUZHEN200495/anisble_freeIPA_vault_setup | f35ef27fcfc4342c1e3b8030d08916aa9f44e176 | 0 | roles/freeipa-client | 139 | [
"no_license"
] | [
{
"path": "roles/freeipa-client/tasks/main.yml",
"content": "- name: Install FreeIPA client\n package:\n name: freeipa-client\n state: present\n\n- name: Enroll the host in FreeIPA\n command: >\n ipa-client-install --unattended --domain={{ ansible_domain }}\n --server={{ ansi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 433,
"all_permissive": false
} |
ansible_role | YUZHEN200495/anisble_freeIPA_vault_setup | f35ef27fcfc4342c1e3b8030d08916aa9f44e176 | 0 | roles/vault-agent | 139 | [
"no_license"
] | [
{
"path": "roles/vault-agent/tasks/main.yml",
"content": "- name: Install Vault agent\n get_url:\n url: https://releases.hashicorp.com/vault/1.15.0/vault_1.15.0_linux_amd64.zip\n dest: /tmp/vault.zip\n\n- name: Unzip Vault\n unarchive:\n src: /tmp/vault.zip\n dest: /usr/local/bin/\n remote_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 973,
"all_permissive": false
} |
ansible_role | flaviotorres/ansible-essentials | 693b568b686594b59a793da3e8031d9d27ca3bed | 1 | lamp_haproxy/roles/apache | 139 | [
"no_license"
] | [
{
"path": "lamp_haproxy/roles/apache/templates/index.html.j2",
"content": "{{ apache_test_message }} {{ ansible_distribution }} {{ ansible_distribution_version }} <br>\nCurrent Host: {{ ansible_hostname }} <br>\nServer list: <br>\n{% for host in groups.webservers %}\n{{ host }} <br>\n{% endfor %}\n",
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 691,
"all_permissive": false
} |
ansible_role | flaviotorres/ansible-essentials | 693b568b686594b59a793da3e8031d9d27ca3bed | 1 | lamp_haproxy/roles/common | 139 | [
"no_license"
] | [
{
"path": "lamp_haproxy/roles/common/tasks/ntp.yml",
"content": "---\n- name: install ntp\n yum: name=ntp state=present\n\n- name: configure ntp file\n template: src=ntp.conf.j2 dest=/etc/ntp.conf\n\n- name: start ntp\n service: name=ntpd state=started\n",
"license_type": "no_license",
"detected_... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 573,
"all_permissive": false
} |
ansible_role | encapsulate-xyz/namada-ansible | d43f83bf991e785aa77d2feb204814997ab0dbad | 0 | roles/node | 139 | [
"no_license"
] | [
{
"path": "roles/node/defaults/main.yml",
"content": "---\n# maintains directories and paths\nnode_home_dir: /opt/{{ service_identifier }}\n\nnode_bin_dir: \"{{ node_home_dir }}/bin\"\nnode_config_dir: \"{{ node_home_dir }}/config\"\nnode_network_dir: \"{{ node_config_dir }}/{{ namada[type].chain_id }}\"\nn... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 18738,
"all_permissive": false
} |
ansible_role | encapsulate-xyz/namada-ansible | d43f83bf991e785aa77d2feb204814997ab0dbad | 0 | roles/sync | 139 | [
"no_license"
] | [
{
"path": "roles/sync/defaults/main.yml",
"content": "---\nsync_home_dir: /opt/{{ service_identifier }}\nsync_cometbft_dir: /opt/{{ service_identifier }}/cometbft\n\nsync_data_dir: \"{{ sync_home_dir }}/data\"\nsync_cometbft_data_dir: \"{{ sync_cometbft_dir }}/data\"\nsync_wasm_dir: \"{{ sync_home_dir }}/wa... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 3197,
"all_permissive": false
} |
ansible_role | cylia11/itescia-ansible | cdf79500afb9533fc08c96a6be2051f3e33db554 | 0 | roles/serverweb | 139 | [
"no_license"
] | [
{
"path": "roles/serverweb/defaults/main.yml",
"content": "---\n# defaults file for roles/serverweb",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 39
},
{
"path": "roles/serverweb/tasks/main.yml",
"content": "---\n# tasks file for roles/serverweb\n- name: inst... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 303,
"all_permissive": false
} |
ansible_role | cylia11/itescia-ansible | cdf79500afb9533fc08c96a6be2051f3e33db554 | 0 | roles/system | 139 | [
"no_license"
] | [
{
"path": "roles/system/vars/main.yml",
"content": "---\n# vars file for roles/system\n\nlist_users:\n - toto13\n - titi13\n - tata13\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 79
},
{
"path": "roles/system/tasks/main.yml",
"content": "\n# tasks file ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 238,
"all_permissive": false
} |
ansible_role | Thiernomadioubah/ansible_dyma | bb308b295beb3c8975a8347fbf729c5dc7ee1cd2 | 1 | PROJET2_AWS/playbooks/roles/mysql | 139 | [
"no_license"
] | [
{
"path": "PROJET2_AWS/playbooks/roles/mysql/handlers/main.yml",
"content": "- name: Restart MYSQL\n ansible.builtin.service:\n name: mysqld\n state: restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 86
},
{
"path": "PROJET2_AWS/playbooks/roles/mysql... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2110,
"all_permissive": false
} |
ansible_role | Thiernomadioubah/ansible_dyma | bb308b295beb3c8975a8347fbf729c5dc7ee1cd2 | 1 | PROJET2_AWS/playbooks/roles/web | 139 | [
"no_license"
] | [
{
"path": "PROJET2_AWS/playbooks/roles/web/handlers/main.yaml",
"content": "- name: Restart NGINX\n ansible.builtin.service:\n name: nginx\n state: restarted\n\n- name: Restart PHP-FPM\n ansible.builtin.service:\n name: php-fpm\n state: restarted",
"license_type": "no_license",
"detect... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2650,
"all_permissive": false
} |
ansible_role | Thiernomadioubah/ansible_dyma | bb308b295beb3c8975a8347fbf729c5dc7ee1cd2 | 1 | PROJET2_DO/playbooks/roles/mysql | 139 | [
"no_license"
] | [
{
"path": "PROJET2_DO/playbooks/roles/mysql/tasks/main.yml",
"content": "---\n- name: Mettre à jour les paquets APT\n ansible.builtin.apt:\n update_cache: yes\n\n- name: Installer MySQL server\n ansible.builtin.apt:\n name: mysql-server\n state: present\n\n- name: Installer les dépendances Python... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1013,
"all_permissive": false
} |
ansible_role | Thiernomadioubah/ansible_dyma | bb308b295beb3c8975a8347fbf729c5dc7ee1cd2 | 1 | PROJET2_DO/playbooks/roles/web | 139 | [
"no_license"
] | [
{
"path": "PROJET2_DO/playbooks/roles/web/templates/nginx.conf.j2",
"content": "server {\n listen 80;\n listen [::]:80;\n\n root /var/www/app;\n\n index index.php;\n\n error_page 404 500 /error.php;\n\n location / {\n try_files $uri $uri/ =404;\n }\n\n location ~ \\.php$ {\n include snippets/f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1681,
"all_permissive": false
} |
ansible_role | fjacquet/rancher-tflab | 4559706f9ebbb1beafcc88b095b5e6c83fc4681f | 1 | playbooks/roles/docker | 139 | [
"no_license"
] | [
{
"path": "playbooks/roles/docker/tasks/main.yml",
"content": "---\n- name: Update apt-get repo and cache\n apt:\n update_cache: true\n force_apt_get: true\n cache_valid_time: 3600\n\n- name: Ensure old versions of Docker are not installed.\n package:\n name:\n - docker\n - docker-en... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1878,
"all_permissive": false
} |
ansible_role | fjacquet/rancher-tflab | 4559706f9ebbb1beafcc88b095b5e6c83fc4681f | 1 | playbooks/roles/longhorn | 139 | [
"no_license"
] | [
{
"path": "playbooks/roles/longhorn/tasks/main.yml",
"content": "---\n- name: vgcreate\n lvg:\n vg: vg-storage\n pvs: /dev/disk/azure/scsi1/lun20\n\n- name: lvcreate\n lvol:\n vg: vg-storage\n lv: lv-storage\n size: 90%VG\n\n- name: create file system\n filesystem:\n fstype: xfs\n de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 396,
"all_permissive": false
} |
ansible_role | fjacquet/rancher-tflab | 4559706f9ebbb1beafcc88b095b5e6c83fc4681f | 1 | playbooks/roles/rke | 139 | [
"no_license"
] | [
{
"path": "playbooks/roles/rke/defaults/main.yml",
"content": "---\nkernel_modules:\n - br_netfilter\n - ip6_udp_tunnel\n - ip_set\n - ip_set_hash_ip\n - ip_set_hash_net\n - iptable_filter\n - iptable_nat\n - iptable_mangle\n - iptable_raw\n - nf_conntrack_netlink\n - nf_conntrack\n - nf_defrag_... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2287,
"all_permissive": false
} |
ansible_role | fjacquet/rancher-tflab | 4559706f9ebbb1beafcc88b095b5e6c83fc4681f | 1 | playbooks/roles/update | 139 | [
"no_license"
] | [
{
"path": "playbooks/roles/update/tasks/main.yml",
"content": "---\n- name: Update apt-get repo and cache\n apt:\n update_cache: true\n force_apt_get: true\n cache_valid_time: 3600\n\n- name: Upgrade all packages\n apt:\n upgrade: dist\n\n- name: Cleanup unneeded packages\n apt:\n autoclea... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 642,
"all_permissive": false
} |
ansible_role | joepreludian/ansible-testkitchen-studies | 599e4ba68a36f35a82072d09eb879d49e68820cd | 0 | roles/hello_web | 139 | [
"no_license"
] | [
{
"path": "roles/hello_web/test/integration/default/testinfra/test_default.py",
"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\ndef test_port_80_is_listening(host):\n socket = host.socket(\"tcp://80\")\n assert(socket.is_listening)\n",
"license_type": "no_license",
"detected_licenses... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1505,
"all_permissive": false
} |
ansible_role | rohitgurudasani/kubernetes-anywhere | 23c3520513537d0a37d66823d1b3a7cab8744999 | 0 | roles/prereq | 0 | [
"no_license"
] | [
{
"path": "roles/prereq/tasks/main.yml",
"content": "---\n# - name: Set same timezone on every Server\n# timezone:\n# name: \"{{ system_timezone }}\"\n# when: (system_timezone is defined) and (system_timezone != \"Your/Timezone\")\n\n\n\n- name: Enable IPv4 forwarding\n sysctl:\n name: net.ipv4.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 892,
"all_permissive": false
} |
ansible_role | nieve-web/casoPractico2 | 9a065475559a931cd7ea6863dd8c25208d4fa2c2 | 0 | ansible/roles/acr | 0 | [
"no_license"
] | [
{
"path": "ansible/roles/acr/tasks/main.yml",
"content": "---\r\n# Tareas que se ejecutan en el rol acr\r\n\r\n- name: Asegurarse de que Podman esté instalado\r\n become: true\r\n ansible.builtin.apt:\r\n name: podman\r\n update_cache: yes\r\n state: present\r\n\r\n- name: Login en el Azure Conta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1482,
"all_permissive": false
} |
ansible_role | nieve-web/casoPractico2 | 9a065475559a931cd7ea6863dd8c25208d4fa2c2 | 0 | ansible/roles/aks | 0 | [
"no_license"
] | [
{
"path": "ansible/roles/aks/tasks/main.yml",
"content": "---\r\n- name: Configurar conexión con AKS\r\n set_fact:\r\n kube_config: \"/home/nefr/.kube/config\"\r\n\r\n- name: Desplegar Redis en AKS\r\n kubernetes.core.k8s:\r\n kubeconfig: \"{{ kube_config }}\"\r\n state: present\r\n definition... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 3566,
"all_permissive": false
} |
ansible_role | nieve-web/casoPractico2 | 9a065475559a931cd7ea6863dd8c25208d4fa2c2 | 0 | ansible/roles/vm | 0 | [
"no_license"
] | [
{
"path": "ansible/roles/vm/tasks/main.yml",
"content": "---\r\n- name: Asegurar que los paquetes están actualizados\r\n become: yes\r\n ansible.builtin.apt:\r\n update_cache: yes\r\n\r\n- name: Instalar Podman en la VM\r\n become: yes\r\n ansible.builtin.apt:\r\n name: podman\r\n state: presen... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1054,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/checkport | 0 | [
"no_license"
] | [
{
"path": "roles/checkport/tasks/main.yml",
"content": "---\n\n- name: Check if remote host port {{ port }}\n wait_for: host={{ server }} port={{ port }} timeout=4\n ignore_errors: True\n\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 130
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 130,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/countline | 0 | [
"no_license"
] | [
{
"path": "roles/countline/tasks/main.yml",
"content": "---\n- name: Get Total Disk in GB only \n #calculation is wrong if there's a disk with MB\n shell: fdisk -l|grep /dev/sd > disk && awk '/Disk \\/dev\\/sd/ {print $3}' disk > disk2\n args:\n executable: /bin/bash\n \n- shell: cat disk2 | wc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 452,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/elements | 0 | [
"no_license"
] | [
{
"path": "roles/elements/tasks/main.yml",
"content": "---\n - debug: msg=\"The atomic number of Helium is {{ lookup('csvfile', 'He file=elements.csv delimiter=,') }}\"\n delegate_to: localhost\n run_once: true\n \n - debug: msg=\"The atomic mass of Lithium is {{ lookup('csvfile', 'Li file=elements.cs... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 316,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/fetch | 0 | [
"no_license"
] | [
{
"path": "roles/fetch/tasks/main.yml",
"content": "---\n\n- name: delete local /tmp/fetched\n shell: rm -fr /tmp/fetched/ \n args:\n executable: /bin/bash\n warn: false\n ignore_errors: True\n delegate_to: localhost\n \n- name: Fetching file\n fetch:\n src: /tmp/{{ ansible_hostname }}_outp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 531,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/get-info-csv | 0 | [
"no_license"
] | [
{
"path": "roles/get-info-csv/tasks/main.yml",
"content": "---\n\n- name: Include server firewall to check\n include_vars: server.yml\n\n- name: Get hostname\n shell: echo \"{{ ansible_hostname }}\" > /tmp/{{ ansible_hostname }}_data.csv\n #no_log: true\n args:\n executable: /bin/bash\n\n- name: Put... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3530,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/loop | 0 | [
"no_license"
] | [
{
"path": "roles/loop/tasks/main.yml",
"content": "---\n- name: Building the loop\n template:\n src=loop.j2\n dest=/tmp/loop.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 81
},
{
"path": "roles/loop/templates/loop.j2",
"content": "#jinja2:lstrip_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 624,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/loop2 | 0 | [
"no_license"
] | [
{
"path": "roles/loop2/templates/loop2.j2",
"content": "#jinja2:lstrip_blocks: True\n\n{% for server in servers %}\n- name: Check if remote {{ server }} host port 22\n wait_for: host={{ server }} port=22 timeout=1\n ignore_errors: True\n register: result1\n when: ansible_hostname != server\n\n- name: Ch... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 504,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/telnet | 0 | [
"no_license"
] | [
{
"path": "roles/telnet/tasks/main.yml",
"content": "--- \n- name: Include file\n include_vars: server.yml\n\n- shell: rm -f /tmp/x_output.csv\n warn: False\n ignore_errors: True\n delegate_to: localhost\n \n- name: Check if remote port\n wait_for: host={{ item.server2 }} port={{ item.port }} timeout=1... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 786,
"all_permissive": false
} |
ansible_role | venerari/tso-playbook2 | baa26fcd9a78daf06219d80139f4df3635f9213f | 0 | roles/telnet2 | 0 | [
"no_license"
] | [
{
"path": "roles/telnet2/tasks/main.yml",
"content": "---\n- name: Check all port numbers are accessible from current host\n wait_for:\n host: \"{{ item.host }}\"\n port: \"{{ item.port }}\"\n state: started # Port should be open\n delay: 0 # No wait before first check (se... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 483,
"all_permissive": false
} |
ansible_role | fran-expertice/good-ansible | 8ac571fc8c97d0475ad5f34863c371acc2325338 | 0 | roles/deploy-haproxy | 0 | [
"no_license"
] | [
{
"path": "roles/deploy-haproxy/handlers/main.yml",
"content": "---\n# handlers file for deploy-haproxy",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 38
},
{
"path": "roles/deploy-haproxy/tasks/httpd.yml",
"content": "--- \n- \n name: http\n package: \n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 180,
"all_permissive": false
} |
ansible_role | fran-expertice/good-ansible | 8ac571fc8c97d0475ad5f34863c371acc2325338 | 0 | roles/deploy-postgres | 0 | [
"no_license"
] | [
{
"path": "roles/deploy-postgres/tasks/main.yml",
"content": "---\n# tasks file for deploy-postgres\n\n- name: install postgres\n yum:\n name: postgresql-server\n state: latest\n\n- name: enable postgres at boot\n service:\n name: postgresql\n enabled: yes\n\n- name: tell user to finish settin... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 587,
"all_permissive": false
} |
ansible_role | fran-expertice/good-ansible | 8ac571fc8c97d0475ad5f34863c371acc2325338 | 0 | roles/index-app1 | 0 | [
"no_license"
] | [
{
"path": "roles/index-app1/vars/main.yml",
"content": "---\n# vars file for index-app1",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 30
},
{
"path": "roles/index-app1/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n roles:\n - ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 474,
"all_permissive": false
} |
ansible_role | fran-expertice/good-ansible | 8ac571fc8c97d0475ad5f34863c371acc2325338 | 0 | roles/index-app2 | 0 | [
"no_license"
] | [
{
"path": "roles/index-app2/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n roles:\n - index-app2",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 68
},
{
"path": "roles/index-app2/defaults/main.yml",
"content": "---\n# defaults f... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 473,
"all_permissive": false
} |
ansible_role | cloudz-cp/pps-unix-logging-ansible | bf03731982528dfd76e91a5b6b44574ec3d763cb | 0 | roles/rsyslog_setup | 0 | [
"no_license"
] | [
{
"path": "roles/rsyslog_setup/templates/debug.conf.j2",
"content": "action(type=\"omfile\"\n dirCreateMode=\"0700\"\n FileCreateMode=\"0644\"\n File=\"/var/log/zcp.log\")",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 109
},
{
"path": "roles/rsy... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 488,
"all_permissive": false
} |
ansible_role | irksomeemptiness/mongo_replicaset_docker | 9f280c961b9d2fe2213ba5de5004a5d84716e086 | 0 | roles/mongo | 0 | [
"no_license"
] | [
{
"path": "roles/mongo/tasks/main.yml",
"content": "---\n- name: Create a directory for a DB files if it does not exist\n file:\n path: /opt/mongodb\n state: directory\n mode: '0755'\n\n- name: Create a directory for the config if it does not exist\n file:\n path: /opt/mongo\n state: direct... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1499,
"all_permissive": false
} |
ansible_role | irksomeemptiness/mongo_replicaset_docker | 9f280c961b9d2fe2213ba5de5004a5d84716e086 | 0 | roles/prepare | 0 | [
"no_license"
] | [
{
"path": "roles/prepare/tasks/main.yml",
"content": "---\n\n- name: Add repository\n yum_repository:\n name: epel\n description: EPEL YUM repo\n baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/\n\n\n- name: Add Docker repo\n get_url:\n url: https://download.docker.c... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 987,
"all_permissive": false
} |
ansible_role | zaro0508/ansible-gerrit | d2e2d87c2e800b1eacc556cfa90e37169cf34991 | 1 | roles/common | 39 | [
"no_license"
] | [
{
"path": "roles/common/tasks/main.yml",
"content": "---\n\n- name: update apt repository\n sudo: yes\n sudo_user: root\n apt: update_cache=yes\n\n- name: Install common packages\n sudo: yes\n sudo_user: root\n apt: name={{ item }} state=present\n with_items:\n - git\n - python-pycurl\n\n",... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 238,
"all_permissive": false
} |
ansible_role | zaro0508/ansible-gerrit | d2e2d87c2e800b1eacc556cfa90e37169cf34991 | 1 | roles/gerrit | 39 | [
"no_license"
] | [
{
"path": "roles/gerrit/tasks/install_gerrit.yaml",
"content": "---\n\n- name: Create Gerrit User\n user: name={{gerrit_user}} state=present\n\n- name: Create a folder for Gerrit wars\n sudo: yes\n sudo_user: root\n file: >\n path={{gerrit_wars_dir}} owner={{gerrit_user}} group={{gerrit_user}}\n m... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 2491,
"all_permissive": false
} |
ansible_role | zaro0508/ansible-gerrit | d2e2d87c2e800b1eacc556cfa90e37169cf34991 | 1 | roles/mysql | 39 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yml",
"content": "---\n\n- name: Stop the MySql Service\n sudo: yes\n sudo_user: root\n service: name=mysql state=stopped\n ignore_errors: yes # service may not be setup yet.\n\n#- include: install_packages.yaml\n\n- name: Setup the MySql DB\n sudo: yes\n sudo_user: ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 820,
"all_permissive": false
} |
ansible_role | cakebake/vagrant-php55 | fbc8ce95aedb0182daa1306cf326f72093dd9ead | 0 | ansible/roles/app | 39 | [
"no_license"
] | [
{
"path": "ansible/roles/app/templates/99-custom.ini",
"content": "; RELOAD CHANGES WITH `vagrant reload --provision`\n\n; SETTINGS\ndisplay_errors = On\nhtml_errors = On\nmemory_limit = 256M\nmax_execution_time = 3000\nmax_file_uploads = 999\nmax_input_time = 999\nupload_max_filesize = 1024M\npost_max_size... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2076,
"all_permissive": false
} |
ansible_role | AdeNastasia/rockot-it-tasks | b9ee1e752583b3813d291937a2350b5cd65777f0 | 0 | Task_3_Знакомство_с_Ansible/rockot-it-tasks/task_3/roles/configure_apache | 39 | [
"no_license"
] | [
{
"path": "Task_3_Знакомство_с_Ansible/rockot-it-tasks/task_3/roles/configure_apache/tasks/main.yml",
"content": "---\n- name: Работа на Debian\n block:\n - name: Обновление конфигурации apache - изменение порта с 80 на 8080 (полная замена конфига) - Debian\n copy:\n src: \"{{ config_dir }}/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1687,
"all_permissive": false
} |
ansible_role | AdeNastasia/rockot-it-tasks | b9ee1e752583b3813d291937a2350b5cd65777f0 | 0 | Task_3_Знакомство_с_Ansible/rockot-it-tasks/task_3/roles/configure_nginx | 39 | [
"no_license"
] | [
{
"path": "Task_3_Знакомство_с_Ansible/rockot-it-tasks/task_3/roles/configure_nginx/tasks/main.yml",
"content": "---\n- name: Работа на Debian\n block:\n\n - name: Создание доп. конфига для Nginx в /etc/nginx/sites-available на Debian на основе шаблона\n template:\n src: \"{{ config_dir }}/d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1235,
"all_permissive": false
} |
ansible_role | ftnext/ansible-playground | d716d187b8607b45fd9be9d170faea812ce8570e | 0 | tidy-playbooks-location/roles/awesome | 39 | [
"no_license"
] | [
{
"path": "tidy-playbooks-location/roles/awesome/templates/awesome.j2",
"content": "✨✨✨ {{ subject }} is awesome!! ✨✨✨\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 35
},
{
"path": "tidy-playbooks-location/roles/awesome/tasks/main.yml",
"content": "---\n- n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 114,
"all_permissive": false
} |
ansible_role | ftnext/ansible-playground | d716d187b8607b45fd9be9d170faea812ce8570e | 0 | tidy-playbooks-location/roles/common | 39 | [
"no_license"
] | [
{
"path": "tidy-playbooks-location/roles/common/tasks/main.yml",
"content": "---\n- name: common print\n debug:\n msg: \"Common\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 52
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 52,
"all_permissive": false
} |
ansible_role | kdkasad/home-server | dff0eb4785748f805ed99c5f718642630724f942 | 2 | roles/authentik | 39 | [
"no_license"
] | [
{
"path": "roles/authentik/templates/docker-compose.yml",
"content": "---\nname: authentik\n\nnetworks:\n default: {}\n subway:\n external: true\n name: subway\n\nservices:\n postgresql:\n container_name: authentik-postgresql\n image: postgres:{{ authentik_image_tags.postgres }}\n restart:... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 6025,
"all_permissive": false
} |
ansible_role | kdkasad/home-server | dff0eb4785748f805ed99c5f718642630724f942 | 2 | roles/bitwarden | 39 | [
"no_license"
] | [
{
"path": "roles/bitwarden/defaults/main.yml",
"content": "---\nbitwarden_enabled: false\n\nbitwarden_routing:\n enabled: true\n subdomain: bitwarden\n\nbitwarden_data_dir: \"{{ storage.data_dir }}/bitwarden\"\n\n# Whether to allow anyone who can reach your Bitwarden instance to sign up for\n# an account.... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2869,
"all_permissive": false
} |
ansible_role | kdkasad/home-server | dff0eb4785748f805ed99c5f718642630724f942 | 2 | roles/ddns | 39 | [
"no_license"
] | [
{
"path": "roles/ddns/handlers/main.yml",
"content": "---\n- name: Reload ddclient service\n ansible.builtin.service:\n name: ddclient\n state: restarted\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 103
},
{
"path": "roles/ddns/defaults/main.yml",
"... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 998,
"all_permissive": false
} |
The Stack v3 DevOps Corpus
13,234,862 complete infrastructure units extracted from The Stack v3, grouped into seven classes and gated on content rather than popularity.
A unit is not a file, it is the thing an engineer would actually run: a Helm chart
arrives with its Chart.yaml, values.yaml and every template; a Terraform module
with all of its .tf files; an Ansible role with its tasks, defaults and handlers.
That is only possible because The Stack v3 groups rows by repository, which v2 did
not.
Why this exists
Language detection cannot find infrastructure code. Helm templates, Kubernetes
manifests, Ansible playbooks, CI pipelines and Prometheus rules are all just
YAML to go-enry, and 59.6% of the YAML in the corpus is not infrastructure
at all (Spring config, i18n plurals, Drupal exports, dbt models, Conda
environments). Path heuristics do not fix it either: a directory-name rule finds
only 33% of real Kubernetes manifests and is 57% precise.
So classification here is content-first. Every YAML unit was parsed and inspected, and the resulting labels were scored against an independent YAML parser rather than against more regexes:
| Class | Precision | Recall |
|---|---|---|
| kubernetes | 97.8% | 97.2% |
| github_actions | 98.9% | 100.0% |
| compose | 97.2% | 99.3% |
| helm | 93.9% (structural) | not measurable, templates are not valid YAML |
| ansible | 86.4% | 90.3% |
| terraform | 98.9% (extension-anchored) | |
| dockerfile | 99.7% (extension-anchored) |
Roughly half of all Helm and Ansible labels come from repository context alone:
a values.yaml or a defaults/main.yml is a bare tree of variables, and no
amount of content inspection can tell you what it belongs to.
Configs
| Config | Units | Parquet | What a unit is |
|---|---|---|---|
helm_chart |
65,422 | 0.15 GB | Complete charts: Chart.yaml plus templates, and values.yaml where present |
terraform_module |
779,730 | 1.06 GB | Directories with two or more .tf files declaring real blocks |
manifest_set |
743,191 | 0.42 GB | Directories of two or more Kubernetes manifests that parse |
ansible_role |
444,411 | 0.34 GB | Roles with a verifiable task list, plus defaults, handlers and templates |
dockerfile |
4,609,451 | 1.14 GB | Single files containing real Dockerfile instructions |
workflow |
3,380,313 | 1.41 GB | GitHub Actions workflows with triggers and jobs |
compose |
3,212,344 | 0.87 GB | Docker Compose files with a services mapping |
| total | 13,234,862 | 5.40 GB |
What is inside each one
helm_chartthe scarcest and richest class.Chart.yaml,values.yamlwhere present, every template and helper. Median 4 templates, up to 56.terraform_modulea directory of two or more.tffiles that declare real resources, modules, variables or outputs. Median 3 files. 70.7% declare variables, 47.8% outputs.manifest_seta directory of two or more Kubernetes manifests that parse. Median 3. Most common kinds: Deployment, Service, Kustomization, ConfigMap, Ingress, PersistentVolumeClaim, Secret.ansible_roletasks/, and whichever ofdefaults/,handlers/,vars/,meta/,templates/,files/the role ships. 24.6% carry defaults.dockerfileone file with real instructions. Median 8 instructions, 20.3% multi-stage.workflowone GitHub Actions workflow with triggers and jobs. Median 1 job and 5 steps.composeone Compose file with a services mapping. Median 2 services.
Using it
from datasets import load_dataset
charts = load_dataset("Helmcode/stack-v3-devops", "helm_chart", split="train")
Charts that render standalone, which is what an executable benchmark needs:
renderable = charts.filter(lambda row: row["flags"]["self_contained"])
Stream the large configs instead of downloading them:
dockerfiles = load_dataset(
"Helmcode/stack-v3-devops", "dockerfile", split="train", streaming=True
)
hardened = (row for row in dockerfiles if row["flags"]["pins_digest"])
Reconstruct a unit as files on disk, which is how you feed it to helm lint,
terraform validate or hadolint:
import pathlib
def materialise(row, root):
prefix = row["unit_prefix"]
for entry in row["files"]:
relative = entry["path"][len(prefix):].lstrip("/") if prefix else entry["path"]
target = pathlib.Path(root, relative or pathlib.Path(entry["path"]).name)
target.parent.mkdir(parents=True, exist_ok=True)
target.write_text(entry["content"])
materialise(charts[0], "/tmp/chart")
Restrict to units whose every file carries a permissive license header, but read the licensing section first, because that is not the same as permissively licensed code:
permissive = charts.filter(lambda row: row["flags"]["all_permissive"])
What it is good for
- Evaluation. Complete, self-contained units are what an executable benchmark needs: render the chart, validate the module, lint the Dockerfile, and score on whether real tools accept the output.
- Fine-tuning on infrastructure tasks, where the unit boundary matters more
than the file: a model that writes one template without
values.yamlhas not written a chart. - Measuring practice. The flags make questions like "what share of public Dockerfiles run as root" answerable in one pass instead of a research project.
It is not a pretraining corpus. 5.4 GB is small, and the classes are deliberately unbalanced towards what exists rather than what would balance nicely.
Schema
Every config shares a base schema and adds its own quality and flags structs.
| Field | Type | Notes |
|---|---|---|
unit_type |
string | one of the seven config names |
repo_path |
string | owner/name, for attribution |
commit_id |
string | the exact commit the files came from |
stars |
int32 | GitHub stars at crawl time |
unit_prefix |
string | directory the unit was rooted at, "" for repo root |
shard |
int32 | source shard, for reproducibility |
license_types |
list<string> | distinct license_type values across the unit's files |
files |
list<struct> | path, content, license_type, detected_licenses, size_bytes |
quality |
struct | per class: template counts, stage counts, service counts, manifest kinds |
flags |
struct | derived booleans, below |
Flags worth knowing about:
self_contained(helm_chart): the chart does not call a helper it lacks. 72.9% of charts qualify; the rest cannot be rendered byhelm templateon their own.pins_digest/uses_latest_tag(dockerfile): supply-chain hygiene.has_unpinned_action(workflow): actions referenced by tag or branch instead of a commit SHA.all_permissive: every file in the unit is labelledpermissive. Read the licensing section before relying on this.
What this corpus says about real-world infrastructure
Measured across every unit, not a sample:
- 89.0% of Dockerfiles set no
USER, so the container runs as root - 98.6% of Dockerfiles declare no
HEALTHCHECK - 89.5% of workflows declare no
permissions, inheriting the default token scope - 91.1% of Compose files define no healthcheck
- 20.3% of Dockerfiles are multi-stage
- Top Kubernetes kinds: Deployment, Service, Kustomization, ConfigMap, Ingress
That is the baseline any model trained on public infrastructure code will imitate, which is the point of publishing it as a measurable corpus rather than a curated showcase.
Provenance and how it was built
Built with helmcode/stack-slice
(Apache-2.0). The corpus was surveyed and extracted without downloading the
4.71 TB dataset: content is 96.9% of every shard, so a metadata-only pass
costs 1% of the bytes, and extraction streams shards over HTTP range requests
without ever storing one.
- Source revision:
de81e3ca7151ofHuggingFaceCode/stack-v3-train - Shards swept: 8,196 of 8,196, covering 157.9M repositories
- Forks skipped, so units come from the repository that authored them
- Re-filtered for opt-out on 2026-07-28, against the revision then at
HEAD (
d7bc7991ea32), and verified equivalent to the current HEAD2b4797afd567(see Licensing)
Gates are content-based, never popularity-based: a chart must have parseable metadata, two or more templates and actual templating; a Terraform module must declare real blocks and not be machine-generated; an Ansible role must have a task list a parser accepts; a manifest set must have two or more manifests that load.
Licensing, and a finding you should not skip
This dataset is released under ODC-By 1.0, inherited from The Stack v3.
The code inside remains under its original licenses, and repo_path plus
commit_id are included on every unit precisely so attribution is possible.
The license_type labels are header-based, not repository-based. In the source
corpus only 3.41% of files are labelled permissive and 98.2% of repositories
contain none at all. Apache-2.0 is detected 26,624 times against MIT's 442, which
inverts their real popularity on GitHub: the Apache convention puts a license
header in every source file, while MIT projects ship a single root LICENSE. So
license_type == permissive means "this file carries an inline license header",
not "this file comes from a permissively licensed project".
Two consequences:
- Filtering to
permissivedoes not give you a representative permissive corpus, it gives you an Apache-2.0-skewed slice. - The remaining
no_licensemajority is code with no license grant at all, not code that is permissively licensed. Treat it accordingly.
The repository-level license cannot be recovered from within The Stack v3 either:
plain-text LICENSE files were dropped by its quality filter, so only 8 of 20,923
repositories in a sample shard ship one. A provably permissive subset needs
external enrichment keyed on repo_path.
Opt-out. Upstream applies opt-out removals in place and re-uploads. This
dataset was re-filtered by repo_path on 2026-07-28, dropping
9,439 units whose repositories had been removed.
Be aware that upstream rewrites its own history: the revision we filtered
against (d7bc7991ea32) was squashed away within a day, so source SHAs are
not durable references. We therefore record the filter date alongside the SHA, and
re-verify against the current HEAD (2b4797afd567) rather than assuming an
old SHA still resolves. If you find your code
here, check inclusion in the source corpus with the
Am I in The Stack?
Space and submit a removal request following the
opt-out instructions; we
re-filter on each upstream patch release.
Known limitations
- The source corpus repeats file rows inside a repository: 10.4% of
repositories and 14.5% of all file rows, byte-identical by
content_id. This dataset deduplicates by (path, content), removing 2,166,221 repeated files, and then drops the 122,886 units that only met their gate because of that repetition (a "set of two manifests" whose two manifests were the same file is not a set of two). Counts here are therefore lower than a naive extraction would report, and correctly so. Quality counters such astemplates,tf_filesandmanifestsare recomputed after deduplication, so they describe the files actually present. - 27.1% of Helm charts cannot render standalone
because they call helpers they do not carry. Filter on
self_contained. - Ansible precision is a floor, not a measurement. "A list of mappings with Ansible-ish keys" also matches ordinary YAML lists, and role variable files are indistinguishable from any other mapping by content alone.
manifest_setgroups manifests by directory, which is a convention, not a deployment boundary.- Stars are as of the crawl and 58-76% of units come from repositories with none. Popularity was deliberately not used as a gate; see the card's reasoning above.
Updates and versioning
Upstream applies opt-out removals in place, re-uploads the whole dataset and squashes its history, which means the source moves and old revision SHAs stop resolving. This dataset therefore records both the revision it was extracted from and the revision it was last compliance-filtered against, and both appear above. When upstream ships a patch release we re-filter and push a new version; the extraction itself is not repeated unless the tooling changes.
If you need byte-for-byte reproducibility, pin the dataset revision you loaded.
Reproducing this dataset
Everything here was produced by helmcode/stack-slice:
# Survey the corpus for 179 MB of transfer, no download
python -m stackslice.scan --shards 24
# Score the classifier against an independent YAML parser
python -m stackslice.measure --shards 3
# Sweep and extract units (streams shards, stores nothing but output)
python -m stackslice.extract --shards 8196 --workers 12 --out units
# Re-filter for opt-out, deduplicate, add flags
python -m stackslice.finalize units --out units_final \
--revision <target-revision> --uuid <shard-uuid>
# Convert to parquet, one config per class
python -m stackslice.publish units_final --out dataset
The full measurement record, including the findings quoted in this card, is in FINDINGS.md.
Citation
@misc{stack_v3_devops,
title = {The Stack v3 DevOps Corpus},
author = {Helmcode},
year = {2026},
url = {https://huggingface.co/datasets/Helmcode/stack-v3-devops},
note = {Extracted from The Stack v3 with helmcode/stack-slice}
}
Please also cite the source corpus, The Stack v3.
- Downloads last month
- -