---
- name: Add signing key
  rpm_key:
    key: https://dl.google.com/linux/linux_signing_key.pub
    state: present

- name: Add repo into repo.d list
  yum_repository:
    name: google-chrome
    description: google-chrome repository
    baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64
    enabled: true
    gpgcheck: true
    gpgkey: https://dl.google.com/linux/linux_signing_key.pub