Unverified Commit ddc664a7 authored by Derek Nola's avatar Derek Nola Committed by GitHub
Browse files

Apply noqa and fix line lenght limit. ansible-lint production profile (#326)



Signed-off-by: default avatarDerek Nola <derek.nola@suse.com>
parent 7ec16a8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ extends: default

rules:
  line-length:
    max: 120
    max: 180
    level: warning
  truthy:
    allowed-values: ['true', 'false']
+11 −8
Original line number Diff line number Diff line
@@ -20,16 +20,19 @@ k3s_cluster:
    extra_agent_args: ""

    # Optional vars

    # cluster_context: k3s-ansible
    # api_port: 6443
    # k3s_server_location: /var/lib/rancher/k3s
    # systemd_dir: /etc/systemd/system
    # extra_service_envs: [ 'ENV_VAR1=VALUE1', 'ENV_VAR2=VALUE2' ]
    # user_kubectl: true, by default kubectl is symlinked and configured for use by ansible_user. Set to false to only kubectl via root user.

    # Manifests or Airgap should be either full paths or relative to the playbook directory.
    # List of locally available manifests to apply to the cluster, useful for PVCs or Traefik modifications.
    # extra_manifests: [ '/path/to/manifest1.yaml', '/path/to/manifest2.yaml' ]
    # airgap_dir: /tmp/k3s-airgap-images
    # user_kubectl: true, by default kubectl is symlinked and configured for use by ansible_user. Set to false to only kubectl via root user.

    # server_config_yaml:  |
    #   This is now an inner yaml file. Maintain the indentation.
    #   YAML here will be placed as the content of /etc/rancher/k3s/config.yaml
+3 −3
Original line number Diff line number Diff line
---
k3s_server_location: "/var/lib/rancher/k3s"
systemd_dir: "/etc/systemd/system"
api_port: 6443
k3s_server_location: "/var/lib/rancher/k3s"  # noqa var-naming[no-role-prefix]
systemd_dir: "/etc/systemd/system"  # noqa var-naming[no-role-prefix]
api_port: 6443  # noqa var-naming[no-role-prefix]
+5 −5
Original line number Diff line number Diff line
---
k3s_server_location: "/var/lib/rancher/k3s"
systemd_dir: "/etc/systemd/system"
api_port: 6443
kubeconfig: ~/.kube/config.new
user_kubectl: true
cluster_context: k3s-ansible
systemd_dir: "/etc/systemd/system"  # noqa var-naming[no-role-prefix]
api_port: 6443  # noqa var-naming[no-role-prefix]
kubeconfig: ~/.kube/config.new  # noqa var-naming[no-role-prefix]
user_kubectl: true  # noqa var-naming[no-role-prefix]
cluster_context: k3s-ansible  # noqa var-naming[no-role-prefix]
+1 −1
Original line number Diff line number Diff line
---
systemd_dir: /etc/systemd/system
systemd_dir: /etc/systemd/system  # noqa var-naming[no-role-prefix]
Loading