Skip to content
  1. Sep 02, 2021
  2. Jul 12, 2021
    • Cristian Calin's avatar
      Move to Ansible 3.4.0 (#7672) · 7516fe14
      Cristian Calin authored
      * Ansible: move to Ansible 3.4.0 which uses ansible-base 2.10.10
      
      * Docs: add a note about ansible upgrade post 2.9.x
      
      * CI: ensure ansible is removed before ansible 3.x is installed to avoid pip failures
      
      * Ansible: use newer ansible-lint
      
      * Fix ansible-lint 5.0.11 found issues
      
      * syntax issues
      * risky-file-permissions
      * var-naming
      * role-name
      * molecule tests
      
      * Mitogen: use 0.3.0rc1 which adds support for ansible 2.10+
      
      * Pin ansible-base to 2.10.11 to get package fix on RHEL8
      7516fe14
  3. Jul 01, 2021
  4. Apr 29, 2021
    • Cristian Calin's avatar
      Rename ansible groups to use _ instead of - (#7552) · 360aff4a
      Cristian Calin authored
      * rename ansible groups to use _ instead of -
      
      k8s-cluster -> k8s_cluster
      k8s-node -> k8s_node
      calico-rr -> calico_rr
      no-floating -> no_floating
      
      Note: kube-node,k8s-cluster groups in upgrade CI
            need clean-up after v2.16 is tagged
      
      * ensure old groups are mapped to the new ones
      360aff4a
  5. Apr 26, 2021
  6. Mar 24, 2021
  7. Dec 03, 2020
  8. Jun 24, 2020
  9. Apr 24, 2020
    • Sergey's avatar
      add strategy mitogen_linear when installed mitogen (#5985) · 69603aed
      Sergey authored
      * add strategy mitogen_linear when installed mitogen
      
      * add small docs
      
      Rename playbook file
      
      The raw action executes as a regular Mitogen connection, which requires Python on the target, so add strategy: linear to bootstrap-os role playbook.
      
      * add mitogen to  CI test
      fix typo
      
      * enable mitogen test on deploy-part1 tests
      change version from master to release
      download tar.gz archive
      
      * run all CI tests with mitogen
      
      * disable mitogen with upgrade CI tests
      
      * enable mitogen on CI tests via env vars
      
      * disable mitogen on CI test by default, enable on some different OS
      
      * disable mitogen CI test on centos8
      (get error  /usr/bin/python: No such file or directory)
      69603aed
  10. Mar 16, 2020
    • Michael Shnit's avatar
      Add AWS ALB Ingress Controller (#5489) · 29128eb3
      Michael Shnit authored
      * Add AWS ALB Ingress Controller Ansible role
      
      * remove trailing spaces
      
      * update owners
      
      * ALB ingress: update rbac clusterrole and remove role
      
      * Move alb-ingress role to roles/kubernetes-apps/ingress_controller folder
      29128eb3
  11. Feb 14, 2020
  12. Dec 04, 2019
  13. Apr 29, 2019
  14. Apr 23, 2019
    • Justin Chao's avatar
      Update ansible.md (#4599) · 64f48bf8
      Justin Chao authored
      Ansible 2.0 has deprecated the “ssh” from ansible_ssh_host.
      
      Updating the docs to be more aligned with the Ansible version used in the sample/inventory.ini file as well.
      Also adding `[bastion]` group in the docs to avoid confusion.
      64f48bf8
  15. Apr 01, 2019
  16. Oct 26, 2018
  17. Aug 22, 2018
  18. May 22, 2018
  19. Feb 08, 2018
  20. Oct 11, 2017
    • Vijay Katam's avatar
      Rename dns_server, add var for selinux. (#1572) · 27ed73e3
      Vijay Katam authored
      * Rename dns_server to dnsmasq_dns_server so that it includes role prefix
      as the var name is generic and conflicts when integrating with existing ansible automation.
      *  Enable selinux state to be configurable with new var preinstall_selinux_state
      27ed73e3
  21. Jun 21, 2017
  22. Jun 16, 2017
  23. Jun 12, 2017
  24. Apr 28, 2017
  25. Mar 01, 2017
  26. Feb 26, 2017
  27. Feb 23, 2017
  28. Feb 14, 2017
  29. Jan 11, 2017
  30. Jan 09, 2017
  31. Dec 13, 2016
  32. Dec 09, 2016
    • Bogdan Dobrelya's avatar
      Preconfigure DNS stack and docker early · a15d6267
      Bogdan Dobrelya authored
      
      
      In order to enable offline/intranet installation cases:
      * Move DNS/resolvconf configuration to preinstall role. Remove
        skip_dnsmasq_k8s var as not needed anymore.
      
      * Preconfigure DNS stack early, which may be the case when downloading
        artifacts from intranet repositories. Do not configure
        K8s DNS resolvers for hosts /etc/resolv.conf yet early (as they may be
        not existing).
      
      * Reconfigure K8s DNS resolvers for hosts only after kubedns/dnsmasq
        was set up and before K8s apps to be created.
      
      * Move docker install task to early stage as well and unbind it from the
        etcd role's specific install path. Fix external flannel dependency on
        docker role handlers. Also fix the docker restart handlers' steps
        ordering to match the expected sequence (the socket then the service).
      
      * Add default resolver fact, which is
        the cloud provider specific and remove hardcoded GCE resolver.
      
      * Reduce default ndots for hosts /etc/resolv.conf to 2. Multiple search
        domains combined with high ndots values lead to poor performance of
        DNS stack and make ansible workers to fail very often with the
        "Timeout (12s) waiting for privilege escalation prompt:" error.
      
      * Update docs.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      a15d6267
    • Bogdan Dobrelya's avatar
      More granular control for download/upload images/binaries · fd9b2667
      Bogdan Dobrelya authored
      
      
      Add upload tag allow users to exclude distributing images across nodes
      when running with the download tag set.
      Add related tags and update docs as well.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      fd9b2667
    • Bogdan Dobrelya's avatar
      Add tags · 8cc84e13
      Bogdan Dobrelya authored
      
      
      Add tags to allow more granular tasks filtering.
      Add generator script for MD formatted tags found.
      Add docs for tags how-to.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      8cc84e13
  33. Jul 19, 2016
    • Bogdan Dobrelya's avatar
      Add etcd proxy support · 32cd6e99
      Bogdan Dobrelya authored
      
      
      * Enforce a etcd-proxy role to a k8s-cluster group members. This
      provides an HA layout for all of the k8s cluster internal clients.
      * Proxies to be run on each node in the group as a separate etcd
      instances with a readwrite proxy mode and listen the given endpoint,
      which is either the access_ip:2379 or the localhost:2379.
      * A notion for the 'kube_etcd_multiaccess' is: ignore endpoints and
      loadbalancers and use the etcd members IPs as a comma-separated
      list. Otherwise, clients shall use the local endpoint provided by a
      etcd-proxy instances on each etcd node. A Netwroking plugins always
      use that access mode.
      * Fix apiserver's etcd servers args to use the etcd_access_endpoint.
      * Fix networking plugins flannel/calico to use the etcd_endpoint.
      * Fix name env var for non masters to be set as well.
      * Fix etcd_client_url was not used anywhere and other etcd_* facts
      evaluation was duplicated in a few places.
      * Define proxy modes only in the env file, if not a master. Del
      an automatic proxy mode decisions for etcd nodes in init/unit scripts.
      * Use Wants= instead of Requires= as "This is the recommended way to
      hook start-up of one unit to the start-up of another unit"
      * Make apiserver/calico Wants= etcd-proxy to keep it always up
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      Co-authored-by: default avatarMatthew Mosesohn <mmosesohn@mirantis.com>
      32cd6e99
  34. Jul 04, 2016
Loading