Sha256: c3cba22996966baffd2e9fc117ba52682f91c899548abaf84845c9950c5b0ccd
Contents?: true
Size: 349 Bytes
Versions: 10
Compression:
Stored size: 349 Bytes
Contents
# Join model that hosts the connection between hosts and ansible_roles class HostAnsibleRole < ActiveRecord::Base audited :associated_with => :host, :allow_mass_assignment => true belongs_to_host belongs_to :ansible_role validates :ansible_role_id, :presence => true, :uniqueness => { :scope => :host_id } end
Version data entries
10 entries across 10 versions & 1 rubygems